[solved] Android Build failed Renpy 6.14

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
ComputerArt.Club
Veteran
Posts: 427
Joined: Mon May 22, 2017 8:12 am
Completed: Famous Fables, BoPoMoFo: Learn Chinese, Santa's workshop, Cat's Bath, Computer Art Club
Location: Taiwan
Contact:

[solved] Android Build failed Renpy 6.14

#1 Post by ComputerArt.Club »

I wanted to update a Renpy built Android app previously built with Renpy 6.13, after making the changes to the app I updated Renpy to 6.14 and then tried to build the android app. It goes through the motions of building the app but then at the very end it tells me the build had failed and I get the follow error.

BUILD FAILED
K:\Renpy\renpy-6.99.13-sdk\rapt\android-sdk-r24.4.1\tools\ant\build.xml:597: The following error occurred while executing this line:
K:\Renpy\renpy-6.99.13-sdk\rapt\android-sdk-r24.4.1\tools\ant\build.xml:538: Unable to resolve project target 'android-15'

Any ideas?

Code: Select all

Updating source code.

Updating build files.
Resolved location of library project to: K:\Renpy\renpy-6.99.13-sdk\rapt\extras\google\market_apk_expansion\downloader_library
Updated and renamed default.properties to project.properties
Updated local.properties
Added file K:\Renpy\renpy-6.99.13-sdk\rapt\build.xml
Updated file K:\Renpy\renpy-6.99.13-sdk\rapt\proguard-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.




Creating assets directory.

Packaging internal data.

I'm using Ant to build the package.
Buildfile: K:\Renpy\renpy-6.99.13-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 24.4.1
 [checkenv] Installed at K:\Renpy\renpy-6.99.13-sdk\rapt\android-sdk-r24.4.1

-setup:
     [echo] Project Name: CatsBath-1.0
  [gettype] Project Type: Application

-build-setup:
[getbuildtools] Using latest Build Tools: 23.0.1
     [echo] Resolving Build Target for CatsBath-1.0...
[gettarget] Project Target:   Android 5.1.1
[gettarget] API level:        22
     [echo] ----------
     [echo] Creating output directories if needed...
     [echo] ----------
     [echo] Resolving Dependencies for CatsBath-1.0...
[dependency] Library dependencies:
[dependency] 
[dependency] ------------------
[dependency] Ordered libraries:
[dependency] 
[dependency] ------------------
     [echo] ----------
     [echo] Building Libraries with 'release'...

nodeps:

-set-mode-check:

-set-release-mode:

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

-pre-build:

-check-env:
 [checkenv] Android SDK Tools Revision 24.4.1
 [checkenv] Installed at K:\Renpy\renpy-6.99.13-sdk\rapt\android-sdk-r24.4.1

-setup:
     [echo] Project Name: library
  [gettype] Project Type: Android Library

-build-setup:
[getbuildtools] Using latest Build Tools: 23.0.1
     [echo] Resolving Build Target for library...

BUILD FAILED
K:\Renpy\renpy-6.99.13-sdk\rapt\android-sdk-r24.4.1\tools\ant\build.xml:597: The following error occurred while executing this line:
K:\Renpy\renpy-6.99.13-sdk\rapt\android-sdk-r24.4.1\tools\ant\build.xml:538: Unable to resolve project target 'android-15'

Total time: 1 second




The build seems to have failed.
Last edited by ComputerArt.Club on Fri Jan 19, 2018 11:51 am, edited 1 time in total.

User avatar
PyTom
Ren'Py Creator
Posts: 16093
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 Build failed Renpy 6.14

#2 Post by PyTom »

Please hit "install sdk" again.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
ComputerArt.Club
Veteran
Posts: 427
Joined: Mon May 22, 2017 8:12 am
Completed: Famous Fables, BoPoMoFo: Learn Chinese, Santa's workshop, Cat's Bath, Computer Art Club
Location: Taiwan
Contact:

Re: Android Build failed Renpy 6.14

#3 Post by ComputerArt.Club »

Thanks PyTom, yes fixed it. Sorry about that, it seems so obvious now. :oops: :lol:

Post Reply

Who is online

Users browsing this forum: Andredron, Bing [Bot]