renpytom / rapt-pygame-example

Example of using RAPT to package Pygame(_sdl2) games.
231 stars 39 forks source link

Error while launching apk #9

Open shivamshekhar opened 7 years ago

shivamshekhar commented 7 years ago

When I launch my apk, first the pygame logo flashes, and then it says that "Unable to extract private data", and the app closes. Also the size of the apk exceeds 900 Mb, why is that so? My original file is hardly 5 kb, but the apk exceeds 900 Mb. And is there a way to simply build the apk, instead of launching and installing it.

Thanks a lot for your patience sir. I know my doubts might be really annoying, but I am just a beginner. :)

shivamshekhar commented 7 years ago

Also I seem to be getting the following error while rebuilding the apk

-package-resources:
     [aapt] Found Deleted Target File
     [aapt] Creating full resource package...
     [aapt]       Unable to add '/home/shivam/Documents/My Projects/Python/pygame/rapt/bin/res/drawable-hdpi/ic_launcher.png': Zip add failed (-2147483648)
     [aapt] ERROR: unable to process assets while packaging '/home/shivam/Documents/My Projects/Python/pygame/rapt/bin/Breakout-1.ap_'
     [aapt] ERROR: packaging of '/home/shivam/Documents/My Projects/Python/pygame/rapt/bin/Breakout-1.ap_' failed

BUILD FAILED
/home/shivam/Documents/My Projects/Python/pygame/rapt/android-sdk-r24.4.1/tools/ant/build.xml:928: The following error occurred while executing this line:
/home/shivam/Documents/My Projects/Python/pygame/rapt/android-sdk-r24.4.1/tools/ant/build.xml:946: null returned: 1

Total time: 1 minute 41 seconds

The build seems to have failed.