I have written a pygame script for an Android game. The code is perfect and is correctly executing on my desktop PC. But when I try to install it on my device it installs properly but on executing it gives a toast message 'Could not extract public data'
I changed the storage data to internal memory then it toasts 'Could not extract private data'
I'm posting the logcat for the external storage issue. I tested another simple script from here and this executed perfectly on my device.
Here is the screenshot for the error:
I tried using pgs4a and was getting this above error. Then I tried using RAPT and now getting a new error:
Now since my game is not a ren'py game therefore RAPT won't work.
Therefore I have to configure and build with pgs4a only.
Problem with the extracting the public/private data still persists.
I fixed a few things like placed all the images used in the folder where my 'main.py' is and found out this new error now: