Discovery of the Problem of Android Builds


So I tried to find out what's been causing the android build to be seen as a new program by the system.
I tried redoing what I always do before I build .apk files for the update:
Altering config.version
Changing the apk file's name
Changing the whole game in a new folder
Changing the configuration
But none of it made the problem reappear.

But it wasn't all for nothing.
During my attempt to put the whole game in a new folder and build an .apk file, I got an error report in the Ren'Py SDK for undetected keystore files, which shouldn't happen, because the keystore file was right there.
So, I think the problem was on the keystore file.
I regenerated a new set of keystore file, I do think it will fix the problem but it requires observation.
And it also means that the game will be seen as a new program and be installed as a double  and cause complete progress loss again in the next update. (if you have the last build installed)
It's a sore progress we have to go through to fix this issue, Sorry if it brings you inconvenience.

Get NastyLand

Comments

Log in with itch.io to leave a comment.

(+1)

Hi, I can try to help a bit. 

1) You need to keep the android.keystore and bundle.keystore in the same directory as the rest of the game, so next to 'NastyLand.exe". When you are ready for release, use the 'Build Distributions' button to make the Desktop versions. This does not package the keystore files.

2) When compiling the android build, you should NOT change the name of the package. You currently do 'nastylandpublic.v01.nov24.apk' but this is the NAME of your project. Thus when you change it the next time to 'nastylandpublic.v01.5.dec24.apk', the entire app is considered a different app. I'd recommend something like "nastyzeus.nastyland'. Renpy will still give you an apk named 'nastyzeus.nastyland-1.1-<randomNumbers>-release.apk'

3)You should not have to move everything to a new folder when you want to release. Renpy will create the distributions for you, like so:
Win/Linux: "NastyLand-Public.V0.1.1.Nov24-pc.zip"
Android: "nastyzeus.nastyland-1.1-<randomNumbers>-release.apk"
Mac: "NastyLand-Public.V0.1.1.Nov24-mac.zip" 

Thank you!

(+1)

You're okay, take your time to figure out the problem! 👍