SDK error SOLVED

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Brambly
Regular
Posts: 36
Joined: Mon Dec 22, 2014 6:12 am
Projects: 200 Years Behind
Deviantart: fallenangel1017
Contact:

SDK error SOLVED

#1 Post by Brambly »

Everytime I try and install the Android SDK I get this error:

Code: Select all

Traceback (most recent call last):
  File "game/android.rpy", line 247, in call
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 679, in __init__
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 896, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified 
How do I fix this?

EDIT: android.bat doesn't extract. I had to extract it seprately and copy it to the correct file
Last edited by Brambly on Sun Dec 28, 2014 6:25 am, edited 1 time in total.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1960
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: SDK error

#2 Post by Donmai »

Isn't it the same error reported here?
http://lemmasoft.renai.us/forums/viewto ... =8&t=29614
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

User avatar
Karl_C
Veteran
Posts: 232
Joined: Sun Mar 31, 2013 6:18 am
Contact:

Re: SDK error

#3 Post by Karl_C »

Do you have the Java Development Kit and the Android USB Drivers installed?
Building an Android application consists of four steps:
  • Download and install the Java Development Kit and Android USB Drivers (scroll down for links).
  • Use the launcher to install the Android SDK and create keys.
  • Use the launcher to configure the Android build.
  • Use the launcher to build the Android application.
Ren'Py Documentation: Building Android Applications

User avatar
Brambly
Regular
Posts: 36
Joined: Mon Dec 22, 2014 6:12 am
Projects: 200 Years Behind
Deviantart: fallenangel1017
Contact:

Re: SDK error

#4 Post by Brambly »

Yes have everything needed installed and I have tried to unzip the file myself and still no progress.

User avatar
Karl_C
Veteran
Posts: 232
Joined: Sun Mar 31, 2013 6:18 am
Contact:

Re: SDK error

#5 Post by Karl_C »

Could you try
javac -version
at the windows command prompt and post the output here?

User avatar
Brambly
Regular
Posts: 36
Joined: Mon Dec 22, 2014 6:12 am
Projects: 200 Years Behind
Deviantart: fallenangel1017
Contact:

Re: SDK error

#6 Post by Brambly »

Code: Select all

 javac is not recognized as an internal or external command, operable program or batch file. 

User avatar
Karl_C
Veteran
Posts: 232
Joined: Sun Mar 31, 2013 6:18 am
Contact:

Re: SDK error

#7 Post by Karl_C »


User avatar
Brambly
Regular
Posts: 36
Joined: Mon Dec 22, 2014 6:12 am
Projects: 200 Years Behind
Deviantart: fallenangel1017
Contact:

Re: SDK error

#8 Post by Brambly »

I'm still getting nothing

User avatar
Karl_C
Veteran
Posts: 232
Joined: Sun Mar 31, 2013 6:18 am
Contact:

Re: SDK error

#9 Post by Karl_C »

'I'm still getting nothing' means what?

'javac -version' still doesn't work?

Install the Java Development Kit (JDK), the Java Runtime Environment (JRE) is not sufficient to run the Android SDK.

User avatar
Brambly
Regular
Posts: 36
Joined: Mon Dec 22, 2014 6:12 am
Projects: 200 Years Behind
Deviantart: fallenangel1017
Contact:

Re: SDK error

#10 Post by Brambly »

I have installed the JDK and 'javac -version' still doesn't work and I'm still getting the same error as before.
This is the full error I get from ren'py

Code: Select all

I'm compiling a short test program, to see if you have a working JDK on your
system.





The JDK is present and working. Good!

Apache ANT has already been unpacked.

The Android SDK has already been unpacked.

I'm about to download and install the required Android packages. This might take a while.



Traceback (most recent call last):
  File "game/android.rpy", line 247, in call
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 679, in __init__
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 896, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified

I was unable to install the required Android packages.
I get this when I do the command prompt:

Code: Select all

  javac is not recognized as an internal or external command, operable program or batch file. 
I followed the instructions on Stack Overflow and I'm still getting the same javac error.

User avatar
Brambly
Regular
Posts: 36
Joined: Mon Dec 22, 2014 6:12 am
Projects: 200 Years Behind
Deviantart: fallenangel1017
Contact:

Re: SDK error

#11 Post by Brambly »

So I deleted both SDK files and reinstalled and this is what I got from Renpy

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/android.rpy", line 579, in <module>
WindowsError: [Error 5] Access is denied

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "launcher/game/android.rpyc", line 577, in script
  File "C:\Users\brambly\Downloads\My programs\renpy-6.18.3-sdk\renpy\ast.py", line 785, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\brambly\Downloads\My programs\renpy-6.18.3-sdk\renpy\python.py", line 1382, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/android.rpy", line 579, in <module>
  File "C:\Users\brambly\Downloads\My programs\renpy-6.18.3-sdk\rapt\buildlib\rapt\install_sdk.py", line 249, in install_sdk
    unpack_sdk(interface)
  File "C:\Users\brambly\Downloads\My programs\renpy-6.18.3-sdk\rapt\buildlib\rapt\install_sdk.py", line 117, in unpack_sdk
    plat.rename(plat.path(unpacked, replace=False), plat.path("android-sdk"))
  File "C:\Users\brambly\Downloads\My programs\renpy-6.18.3-sdk\rapt\buildlib\rapt\plat.py", line 116, in rename
    os.rename(src, dst)
WindowsError: [Error 5] Access is denied

Windows-7-6.1.7601-SP1
Ren'Py 6.18.3.761
Ren'Py Launcher 6.18.3.761

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot], Majestic-12 [Bot], Milkymalk