Android Version Building Problem.

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
johandark
Veteran
Posts: 299
Joined: Sat Apr 30, 2016 11:04 am
Completed: Wild Guards, In Dreams
Projects: Pact with a witch
Deviantart: johandarkweb
Location: Barcelona
Contact:

Android Version Building Problem.

#1 Post by johandark » Thu Nov 02, 2017 8:09 am

I can't build Android version of my game.
When I click on Install SDK and Create keys, this is the error I get:

Here is the message I recieve after pressing "Build Package"

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!

I'm downloading Apache Ant. This might take a while.

I'm extracting Apache Ant.

I've finished unpacking Apache Ant.

I'm downloading the Android SDK. This might take a while.

I'm extracting the Android SDK.

I've finished unpacking the Android SDK.

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

Traceback (most recent call last):
  File "game/mobilebuild.rpy", line 194, in call
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 710, in __init__
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 958, in _execute_child
WindowsError: [Error 2] The system can´t find the specific file

I was unable to install the required Android packages.
I´m using Renpy version 6.99.13.2919

Thanks for your help!
Image

User avatar
johandark
Veteran
Posts: 299
Joined: Sat Apr 30, 2016 11:04 am
Completed: Wild Guards, In Dreams
Projects: Pact with a witch
Deviantart: johandarkweb
Location: Barcelona
Contact:

Re: Android Version Building Problem.

#2 Post by johandark » Fri Nov 03, 2017 9:20 am

Is there no way to solve this problem? :(
Image

User avatar
PyTom
Ren'Py Creator
Posts: 15269
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Android Version Building Problem.

#3 Post by PyTom » Sat Nov 04, 2017 2:43 am

Can you check out your project's android.txt, in renpy-1.2.3.40-sdk /tmp/projectname? That might have more clues.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
johandark
Veteran
Posts: 299
Joined: Sat Apr 30, 2016 11:04 am
Completed: Wild Guards, In Dreams
Projects: Pact with a witch
Deviantart: johandarkweb
Location: Barcelona
Contact:

Re: Android Version Building Problem.

#4 Post by johandark » Sat Nov 04, 2017 1:13 pm

PyTom wrote:
Sat Nov 04, 2017 2:43 am
Can you check out your project's android.txt, in renpy-1.2.3.40-sdk /tmp/projectname? That might have more clues.
Hello PyTom,

It appears the same message in that android.txt file:

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/mobilebuild.rpy", line 196, in call
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 710, in __init__
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 958, in _execute_child
WindowsError: [Error 2] El sistema no puede encontrar el archivo especificado

I was unable to install the required Android packages.
Image

User avatar
PyTom
Ren'Py Creator
Posts: 15269
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Android Version Building Problem.

#5 Post by PyTom » Sun Nov 05, 2017 11:02 pm

I don't have a strong idea at this point. I'd look at your computer, see if there's some sort of antivirus or something like that that is preventing Ren'Py from operating normally.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
johandark
Veteran
Posts: 299
Joined: Sat Apr 30, 2016 11:04 am
Completed: Wild Guards, In Dreams
Projects: Pact with a witch
Deviantart: johandarkweb
Location: Barcelona
Contact:

Re: Android Version Building Problem.

#6 Post by johandark » Thu Nov 09, 2017 12:35 pm

PyTom wrote:
Sun Nov 05, 2017 11:02 pm
I don't have a strong idea at this point. I'd look at your computer, see if there's some sort of antivirus or something like that that is preventing Ren'Py from operating normally.
I don´t really have any antivirus in my computer, also I´m a little naive on programming and software talking, I have no clue what could it be... Any help would be really appreciated... :(
Image

User avatar
Imperf3kt
Eileen-Class Veteran
Posts: 1940
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Android Version Building Problem.

#7 Post by Imperf3kt » Thu Nov 09, 2017 4:01 pm

This may seem obvious, but it is sometimes overlooked (especially on Linux where its hard to tell)
How much space is left on your hard drive?
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

User avatar
johandark
Veteran
Posts: 299
Joined: Sat Apr 30, 2016 11:04 am
Completed: Wild Guards, In Dreams
Projects: Pact with a witch
Deviantart: johandarkweb
Location: Barcelona
Contact:

Re: Android Version Building Problem.

#8 Post by johandark » Thu Nov 09, 2017 8:07 pm

Imperf3kt wrote:
Thu Nov 09, 2017 4:01 pm
This may seem obvious, but it is sometimes overlooked (especially on Linux where its hard to tell)
How much space is left on your hard drive?
I have 2 hard drives.

C: has 295 free GB

and D: has 244 free GB

My game is installed in D:

I had problems there so I installed renpy in C:... until I discovered the main problem was using a 64bits version of the Android SDK.

Anyway, not in C: or D: works...

Thanks for an answer ^^
Image

User avatar
Karl_C
Regular
Posts: 189
Joined: Sun Mar 31, 2013 6:18 am
Contact:

Re: Android Version Building Problem.

#9 Post by Karl_C » Fri Nov 10, 2017 6:51 pm

johandark wrote:
Thu Nov 02, 2017 8:09 am
I can't build Android version of my game.
When I click on Install SDK and Create keys, this is the error I get:
Seems to be a common problem on MS-Windows in combination with 'subprocess.py': "WindowsError: [Error 2] The system cannot find the file specified". Check your 'PathExt' environment variable.
Imperf3kt wrote:
Thu Nov 09, 2017 4:01 pm
(especially on Linux where its hard to tell)
Try "df -h" or "df --total" ;)

Post Reply

Who is online

Users browsing this forum: No registered users