Help, Cannot install the android module [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
pratomoastan
Regular
Posts: 39
Joined: Fri Mar 11, 2016 11:39 am
Projects: My High School Life
Organization: After School Things
Deviantart: pratomoastan
Location: Indonesia
Contact:

Help, Cannot install the android module [SOLVED]

#1 Post by pratomoastan » Mon Mar 14, 2016 9:18 am

Cannot install the android module :

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.

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 cannot find the file specified

I was unable to install the required Android packages.
Last edited by pratomoastan on Sun Jul 03, 2016 12:31 pm, edited 1 time in total.

User avatar
pratomoastan
Regular
Posts: 39
Joined: Fri Mar 11, 2016 11:39 am
Projects: My High School Life
Organization: After School Things
Deviantart: pratomoastan
Location: Indonesia
Contact:

Re: Help, Cannot install the android module [SOLVED]

#2 Post by pratomoastan » Mon Mar 14, 2016 9:45 am

Solved , by manually extract the android sdk .

But unfortunately i got this

Code: Select all

Google Play support is enabled, but build.google_play_key is not set. Please set in your game.
As the error said i should enable build.google_play_key how to set it ?
in options.rpy ?
and how to get the key ? via google play store ?
Last edited by pratomoastan on Sun Jul 03, 2016 12:00 pm, edited 1 time in total.
~ Sempai !!!

User avatar
seacowsoda
Newbie
Posts: 14
Joined: Tue Feb 16, 2016 11:10 am
Completed: Just Another Day in Paradise; 1931: Scheherazade at the Library of Pergamum
Tumblr: seacowsoda
Contact:

Re: Help, Cannot install the android module

#3 Post by seacowsoda » Mon May 09, 2016 11:02 am

So!! I actually don't have an answer for this new issue -- but if anyone else finds this thread through Googling, here are all the errors I encountered while installing and how they were solved:
- Can't find your JDK/thinks you have a JRE? Make sure you install the x86 installation of the JDK (if on Windows)
- Get the same error as above (can't install the package)? Manually unzip as mentioned. You may ALSO need to move your Ren'py folder to a root directory like C:\ (my filepaths were too long)
- Missing the extras\play stuff? Go into your Ren'pyt installation folder > rapt\android-sdk-r24.4.1 and double click on the SDK manager. Download anything it suggest to you, and ALSO add Extras > Google Play Services, APK Extension Library, Google Play Billing Library & Google Play Licensing Library. THEN, once everything is installed (it might take an hour+), go into your Ren'py installation folder > rapt\android-sdk-r24.4.1\extras\google, and rename the part of any folder that has "market" in it to "play". market = play

Totally worth it in the end because my game is now on my phone! ^_^
Member of tripeLLLe | Writer/Coder/Mechanics Designer for Just Another Day in Paradise | Writer/Editor for Scheherazade

duck-and-wolf
Regular
Posts: 47
Joined: Thu Aug 29, 2019 6:20 pm
Completed: Head of the Class
Organization: Duck & Wolf
Contact:

Re: Help, Cannot install the android module

#4 Post by duck-and-wolf » Sat Jul 11, 2020 12:08 pm

seacowsoda wrote:
Mon May 09, 2016 11:02 am
...move your Ren'py folder to a root directory like C:\ (my filepaths were too long)
I would like to second the above information, if you get the "I was unable to install the required Android packages." error, move your Ren'Py folder to the root of your C: drive. That's what did it for me. It's a little bit of a pain in the butt, but I just made shortcuts to the folder (to grab promotional screenshots from) and to the Ren'Py executable on my desktop.

Thank you so much seacowsoda!!!

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], _ticlock_