I have 22 crashes in my google console with this log in Classic Klondike Solitair (minimalistic app without NE at all).
java.lang.NullPointerException:
at android.app.LoadedApk.getAssets (LoadedApk.java:528)
at android.app.LoadedApk.makeApplication (LoadedApk.java:584)
at android.app.ActivityThread.handleBindApplication (ActivityThread.java:4527)
at android.app.ActivityThread.access$1500 (ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1364)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:135)
at android.app.ActivityThread.main (ActivityThread.java:5255)
at java.lang.reflect.Method.invoke (Native Method)
at java.lang.reflect.Method.invoke (Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:902)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:697)
Looks like this issue (when user try to run an apk, during it updates)
I reproduce this issue with “adb install -r my.apk” and try to run an app in right time.
Maybe have sence to handle it?
Crashes is one of the factor for google algorithms, a lot of crashes - the reason to shift down your app place in google play search algorithms even when user himself to blame.
I don’t think I’ve seen this error before.
Can you reproduce it 100% locally? What device/OS version are you trying on?
Did you get any logs? Can I download the apk from somewhere?
I think the only new feature we’ve added for Android is the support for multidex (in 1.2.120). Perhaps you can try bundling with 1.2.119 and see if it’s reproducible there?
Searching for the first line, and checking the first result, it seems to be an old known issue with Google.
Good thing is that some users present a workaround though, and that is something we will look into.
Yeah, @Mathias_Westerdahl and the team is really on a bug hunt! Also inspiring to follow @Mathias_Westerdahl recent efforts on Twitter to reach a 0 warning state on compilation of Defold. Two thumbs up to an awesome engine dev team!