[solved] Android build failed - cannot find google\market_licensing\library\build.xml

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 - cannot find google\market_licensing\library\build.xml

#1 Post by ComputerArt.Club »

I just tried building an Android build with internet permissions, but it failed. At first I thought it was to do with internet permissions as this was my first time building the app with internet permissions, but then I tried to build it again without internet permissions and it also failed.

Code: Select all

BUILD FAILED
E:\Renpy\renpy-6.99.14.3-sdk\rapt\android-sdk-r24.4.1\tools\ant\build.xml:597: The following error occurred while executing this line:
E:\Renpy\renpy-6.99.14.3-sdk\rapt\extras\google\market_licensing\library\build.xml:90: Cannot find K:\Renpy\renpy-6.99.14.3-sdk\rapt\android-sdk-r24.4.1\tools\ant\build.xml imported from E:\Renpy\renpy-6.99.14.3-sdk\rapt\extras\google\market_licensing\library\build.xml
Is 6.99.14.3 missing that file? Or is this problem specific to me? Can anyone direct me to the file I need?
It's strange, I have built quite a few versions of this game before. Recent changes include code related to in app purchasing, though there have been a number of other changes since the last android build too. I also moved everything over to a new USB recently, but there were no error messages about files not being copied.

Any ideas?
Last edited by ComputerArt.Club on Sat May 12, 2018 7:27 am, edited 1 time in total.


User avatar
PyTom
Ren'Py Creator
Posts: 16096
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 - cannot find google\market_licensing\library\build.xml

#3 Post by PyTom »

This happens if you move Ren'Py after you install RAPT. Try re-running install SDK to see if that improves things.
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 - cannot find google\market_licensing\library\build.xml

#4 Post by ComputerArt.Club »

PyTom wrote: Wed May 09, 2018 10:43 pm This happens if you move Ren'Py after you install RAPT. Try re-running install SDK to see if that improves things.
Thanks PyTom! That solved it. The process was also very quick and didn't require downloading or installing everything again. Just clicking that resolved the problem.

Post Reply

Who is online

Users browsing this forum: 3N16M4, Google [Bot], Ocelot