Can't Build Android

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
RikuDawn
Newbie
Posts: 4
Joined: Sun Oct 09, 2011 4:36 pm
Contact:

Can't Build Android

#1 Post by RikuDawn »

It took me forever to SDK installed properly. And now I keep having this problem.

Code: Select all

Updating source code.

Updating build files.
Resolved location of library project to: C:\Users\Jon\Desktop\renpy-6.99.10-sdk\rapt\android-sdk-r24.4.1\extras\google\play_apk_expansion\downloader_library
Updated and renamed default.properties to project.properties
Updated local.properties
Added file C:\Users\Jon\Desktop\renpy-6.99.10-sdk\rapt\build.xml
Updated file C:\Users\Jon\Desktop\renpy-6.99.10-sdk\rapt\proguard-project.txt




Creating assets directory.

Packaging internal data.

I'm using Ant to build the package.
Buildfile: C:\Users\Jon\Desktop\renpy-6.99.10-sdk\rapt\build.xml

-set-mode-check:

-set-release-mode:

-release-obfuscation-check:
     [echo] proguard.config is ${proguard.config}

-pre-build:

-check-env:
 [checkenv] Android SDK Tools Revision 25.1.3
 [checkenv] Installed at C:\Users\Jon\Desktop\renpy-6.99.10-sdk\rapt\android-sdk-r24.4.1

-setup:
     [echo] Project Name: Tutorial-1
  [gettype] Project Type: Application

-build-setup:
[getbuildtools] Using latest Build Tools: 23.0.3
     [echo] Resolving Build Target for Tutorial-1...
[gettarget] Project Target:   Android 5.1.1
[gettarget] API level:        22
     [echo] ----------
     [echo] Creating output directories if needed...
     [echo] ----------
     [echo] Resolving Dependencies for Tutorial-1...

BUILD FAILED
C:\Users\Jon\Desktop\renpy-6.99.10-sdk\rapt\android-sdk-r24.4.1\tools\ant\build.xml:573: ../library resolve to a path with no project.properties file for project C:\Users\Jon\Desktop\renpy-6.99.10-sdk\rapt\android-sdk-r24.4.1\extras\google\play_apk_expansion\downloader_library

Total time: 1 second




The build seems to have failed.

Thedarkjoa
Regular
Posts: 26
Joined: Mon Mar 03, 2014 11:27 pm
Contact:

Re: Can't Build Android

#2 Post by Thedarkjoa »

This guy fix that problem, read the quote below
theCodeCat wrote:I recently had that problem with Android as well.
I think some of the google-play libraries have gotten renamed preventing RAPT from finding them.

I was able to get my Android build to work by:
1. Going into the RAPT android SDK folder (I:\renpy-6.18.3-sdk\rapt\android-sdk-r24.4.1 on my machine)
2. Using the SDK Manager application to download all necessary packages, which includes "Google Play APK Expansion library" and "Google Play Licensing Library"
3. Going into "extras/google" and renaming the "market_apk_expansion" & "market_licensing" folders to "play_apk_expansion" & "play_licensing" respectively.

After renaming those folders RAPT was able to make a build and everything seems to be working.
Hopefully this helps someone :D

Post Reply

Who is online

Users browsing this forum: phoenix13032005