Last week I tried to build an android package to try a version of my game on my phone and Renpy asked me to install the SDK.
I don't know why as the SDK was already installed and working. I assumed it was because I had just started a new project.
Since then I get the following error when I try to build a package:
Code: Select all
Updating source code.
Updating build files.
Resolved location of library project to: C:\Users\James\Desktop\renpy-6.17.3-sdk\rapt\android-sdk-r22.6.2\extras\google\play_apk_expansion\downloader_library
Updated project.properties
Updated local.properties
Added file C:\Users\James\Desktop\renpy-6.17.3-sdk\rapt\build.xml
Updated file C:\Users\James\Desktop\renpy-6.17.3-sdk\rapt\proguard-project.txt
Creating assets directory.
Packaging internal data.
I'm using Ant to build the package.
Buildfile: C:\Users\James\Desktop\renpy-6.17.3-sdk\rapt\build.xml
-check-env:
[checkenv] Android SDK Tools Revision 22.6.2
[checkenv] Installed at C:\Users\James\Desktop\renpy-6.17.3-sdk\rapt\android-sdk-r22.6.2
-setup:
[echo] Project Name: JamesTest1-v1.3
[gettype] Project Type: Application
-pre-clean:
clean:
BUILD FAILED
C:\Users\James\Desktop\renpy-6.17.3-sdk\rapt\android-sdk-r22.6.2\tools\ant\build.xml:460: android-sdk/extras/google/play_apk_expansion/downloader_library resolve to a path with no project.properties file for project C:\Users\James\Desktop\renpy-6.17.3-sdk\rapt
Total time: 0 seconds
I have tried re-installing the Android SDK numerous times. Each time it gets stuck with the line:
Installed GooglePlay Licensing Library, revision 2
Stopping ADB server succeeded
Then it just hangs and I have to shut down Ren'py as it does not respond.
I have tried deleting android-sdk-r22.6.2 on its own and also deleting all of the files starting with "android-sdk" in the rapt folder.
I even tried re-creating the whole Ren'py directory and trying to re-install but this gave my other problems initially then after a lot of messing about got me to the same position so I have gone back to the original copy of Ren'py and its folder.
Please can someone advise me. I feel like I have somehow got the SDK corrupted but cannot work out what files I need to remove to do a clean re-install.
James