[SOLVED!]My game keeps crashing on Android
Posted: Fri Jan 08, 2021 3:24 pm
I have created a game and made the android build.I used last versions of both Renpy and Rapt.
My debug apk runs perfectly.But when ı made the release build and upload it into Google Play it crashed.
I also tried using old versions of Renpy and Rapt but the issue contiunes.
Here is the text that android gives me after game crash;
java.lang.IllegalArgumentException: com.google.android.vending.licensing.util.Base64DecoderException: Bad Base64 input character at 3: 95(decimal)
at com.google.android.vending.licensing.LicenseChecker.generatePublicKey(LicenseChecker.java:121)
at com.google.android.vending.licensing.LicenseChecker.<init>(LicenseChecker.java:95)
at com.google.android.vending.expansion.downloader.impl.DownloaderService$LVLRunnable.run(DownloaderService.java:768)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6861)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Caused by: com.google.android.vending.licensing.util.Base64DecoderException: Bad Base64 input character at 3: 95(decimal)
at com.google.android.vending.licensing.util.Base64.decode(Base64.java:546)
at com.google.android.vending.licensing.util.Base64.decode(Base64.java:474)
at com.google.android.vending.licensing.util.Base64.decode(Base64.java:420)
at com.google.android.vending.licensing.LicenseChecker.generatePublicKey(LicenseChecker.java:112)
... 9 more"
When ı build my package,I used following settings
"No app purchase,No automatic update,Created expansion apk's"
"I have turkish letters like ç,ş,ü,ö,ğ in my script but all of them are in right place,have no text error when I checked it"
*Some solutions that I tried but didnt work;
-Deleting build.classify rules in options.rpy
-İnstead of universal version,uploaded other versions
-When I use Renpy 7.3.5,loading screen appears,but then game crashes.
Here is my files; My game may not be so awesome but it took eight monts to complete it.Any help will be very precious to me.Thanks!
****************UPDATE***********************
Turns out the error emerges because temporal inequality between game resources and renpy launcher version
I started to build my game abaout when covid became worldwide pandemic.So it took about several months to complete.During that time
Renpy got updated which is absolutely normal.When I completed my game Renpy version was different than the one I used at the beginning.
So probably this caused apk to crash,because when I create a new game in latest version and filled the folders by just copy&paste,my apk
ran perfectly on any device.
Thanks to everyone who cared and replied,long live Renpy community! <3
My debug apk runs perfectly.But when ı made the release build and upload it into Google Play it crashed.
I also tried using old versions of Renpy and Rapt but the issue contiunes.
Here is the text that android gives me after game crash;
java.lang.IllegalArgumentException: com.google.android.vending.licensing.util.Base64DecoderException: Bad Base64 input character at 3: 95(decimal)
at com.google.android.vending.licensing.LicenseChecker.generatePublicKey(LicenseChecker.java:121)
at com.google.android.vending.licensing.LicenseChecker.<init>(LicenseChecker.java:95)
at com.google.android.vending.expansion.downloader.impl.DownloaderService$LVLRunnable.run(DownloaderService.java:768)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6861)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Caused by: com.google.android.vending.licensing.util.Base64DecoderException: Bad Base64 input character at 3: 95(decimal)
at com.google.android.vending.licensing.util.Base64.decode(Base64.java:546)
at com.google.android.vending.licensing.util.Base64.decode(Base64.java:474)
at com.google.android.vending.licensing.util.Base64.decode(Base64.java:420)
at com.google.android.vending.licensing.LicenseChecker.generatePublicKey(LicenseChecker.java:112)
... 9 more"
When ı build my package,I used following settings
"No app purchase,No automatic update,Created expansion apk's"
"I have turkish letters like ç,ş,ü,ö,ğ in my script but all of them are in right place,have no text error when I checked it"
*Some solutions that I tried but didnt work;
-Deleting build.classify rules in options.rpy
-İnstead of universal version,uploaded other versions
-When I use Renpy 7.3.5,loading screen appears,but then game crashes.
Here is my files; My game may not be so awesome but it took eight monts to complete it.Any help will be very precious to me.Thanks!
****************UPDATE***********************
Turns out the error emerges because temporal inequality between game resources and renpy launcher version
I started to build my game abaout when covid became worldwide pandemic.So it took about several months to complete.During that time
Renpy got updated which is absolutely normal.When I completed my game Renpy version was different than the one I used at the beginning.
So probably this caused apk to crash,because when I create a new game in latest version and filled the folders by just copy&paste,my apk
ran perfectly on any device.
Thanks to everyone who cared and replied,long live Renpy community! <3
