question

Ralph Damiano avatar image
Ralph Damiano asked

App crashes on launch only on Amazon test cases?

Hi there. I'm trying to submit an app that I've already submitted to Google Play. The app seemingly runs fine for me (my devices, emulators) as well as the users from Google Play. However, when I submit to Amazon, I get a report that the app crashes on launch on the following devices: Fire HDX 8.9 WiFi (3rd Gen). Fire HDX 8.9 WAN (3rd Gen). Fire HDX 7 WiFi (3rd Gen). Fire HDX 7 WAN (3rd Gen). Kindle Fire HD 7 (3rd Gen). Fire HD 8.9 WAN (2nd Gen). Fire HD 8.9 Wifi (2nd Gen). Kindle Fire HD 7 (2nd Gen). Kindle Fire (2nd Gen). Kindle Fire (1st Gen) I do not have a physical Kindle device but I have a few of them emulated and the app seems to install and run on them just fine. Anyway, I was able to get a crash log from Amazon: ... [b]03-25 16:32:43.033: E/AndroidRuntime(23045): FATAL EXCEPTION: main 03-25 16:32:43.033: E/AndroidRuntime(23045): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{org.fortheloss.plunderperil/org.fortheloss.plunderperil.MainActivity}: java.lang.ClassNotFoundException: org.fortheloss.plunderperil.MainActivity[/b] 03-25 16:32:43.033: E/AndroidRuntime(23045): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1955) 03-25 16:32:43.033: E/AndroidRuntime(23045): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2056) 03-25 16:32:43.033: E/AndroidRuntime(23045): at android.app.ActivityThread.access$600(ActivityThread.java:127) 03-25 16:32:43.033: E/AndroidRuntime(23045): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1177) 03-25 16:32:43.033: E/AndroidRuntime(23045): at android.os.Handler.dispatchMessage(Handler.java:99) 03-25 16:32:43.033: E/AndroidRuntime(23045): at android.os.Looper.loop(Looper.java:137) 03-25 16:32:43.033: E/AndroidRuntime(23045): at android.app.ActivityThread.main(ActivityThread.java:4533) 03-25 16:32:43.033: E/AndroidRuntime(23045): at java.lang.reflect.Method.invokeNative(Native Method) 03-25 16:32:43.033: E/AndroidRuntime(23045): at java.lang.reflect.Method.invoke(Method.java:511) 03-25 16:32:43.033: E/AndroidRuntime(23045): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) 03-25 16:32:43.033: E/AndroidRuntime(23045): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) 03-25 16:32:43.033: E/AndroidRuntime(23045): at dalvik.system.NativeStart.main(Native Method) 03-25 16:32:43.033: E/AndroidRuntime(23045): Caused by: java.lang.ClassNotFoundException: org.fortheloss.plunderperil.MainActivity 03-25 16:32:43.033: E/AndroidRuntime(23045): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61) 03-25 16:32:43.033: E/AndroidRuntime(23045): at java.lang.ClassLoader.loadClass(ClassLoader.java:501) 03-25 16:32:43.033: E/AndroidRuntime(23045): at java.lang.ClassLoader.loadClass(ClassLoader.java:461) 03-25 16:32:43.033: E/AndroidRuntime(23045): at android.app.Instrumentation.newActivity(Instrumentation.java:1023) 03-25 16:32:43.033: E/AndroidRuntime(23045): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1946) 03-25 16:32:43.033: E/AndroidRuntime(23045): ... 11 more ... Since my app runs fine everywhere else, I can't seem to figure out why these devices would be an exception. Is there some caveat to getting this to run on Kindle devices that I'm overlooking? Any help appreciated, thanks! Message was edited by: ftlralph Message was edited by: ftlralph
fire tablet
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ralph Damiano avatar image
Ralph Damiano answered
[b]Slightly better-formatted crash log, can't edit the above post:[/b] 03-25 16:32:43.033: W/dalvikvm(23045): threadid=1: thread exiting with uncaught exception (group=0x40b501f8) 03-25 16:32:43.033: E/AndroidRuntime(23045): FATAL EXCEPTION: main 03-25 16:32:43.033: E/AndroidRuntime(23045): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{org.fortheloss.plunderperil/org.fortheloss.plunderperil.MainActivity}: java.lang.ClassNotFoundException: org.fortheloss.plunderperil.MainActivity 03-25 16:32:43.033: E/AndroidRuntime(23045): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1955) 03-25 16:32:43.033: E/AndroidRuntime(23045): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2056) 03-25 16:32:43.033: E/AndroidRuntime(23045): at android.app.ActivityThread.access$600(ActivityThread.java:127) 03-25 16:32:43.033: E/AndroidRuntime(23045): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1177) 03-25 16:32:43.033: E/AndroidRuntime(23045): at android.os.Handler.dispatchMessage(Handler.java:99) 03-25 16:32:43.033: E/AndroidRuntime(23045): at android.os.Looper.loop(Looper.java:137) 03-25 16:32:43.033: E/AndroidRuntime(23045): at android.app.ActivityThread.main(ActivityThread.java:4533) 03-25 16:32:43.033: E/AndroidRuntime(23045): at java.lang.reflect.Method.invokeNative(Native Method) 03-25 16:32:43.033: E/AndroidRuntime(23045): at java.lang.reflect.Method.invoke(Method.java:511) 03-25 16:32:43.033: E/AndroidRuntime(23045): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) 03-25 16:32:43.033: E/AndroidRuntime(23045): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) 03-25 16:32:43.033: E/AndroidRuntime(23045): at dalvik.system.NativeStart.main(Native Method) 03-25 16:32:43.033: E/AndroidRuntime(23045): Caused by: java.lang.ClassNotFoundException: org.fortheloss.plunderperil.MainActivity 03-25 16:32:43.033: E/AndroidRuntime(23045): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61) 03-25 16:32:43.033: E/AndroidRuntime(23045): at java.lang.ClassLoader.loadClass(ClassLoader.java:501) 03-25 16:32:43.033: E/AndroidRuntime(23045): at java.lang.ClassLoader.loadClass(ClassLoader.java:461) 03-25 16:32:43.033: E/AndroidRuntime(23045): at android.app.Instrumentation.newActivity(Instrumentation.java:1023) 03-25 16:32:43.033: E/AndroidRuntime(23045): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1946) 03-25 16:32:43.033: E/AndroidRuntime(23045): ... 11 more
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Fortheloss, Thank you for writing to us. We are looking into the issue. I will reopen the ContactUs case (id:177326671) you created and reply back to you through that case since this is an specific issue to your app.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ralph Damiano avatar image
Ralph Damiano answered
Thanks, appreciate it.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ralph Damiano avatar image
Ralph Damiano answered
Just wondering if anything has come about from this or if anyone has any insight into any possible reasons my app seems to crash only on Kindle devices with a ClassNotFoundException. Thanks!
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi, I am sorry for taking time to give you quick solution about this. I am following up with our team to know the root cause of the issue. Thank you for your patience.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ralph Damiano avatar image
Ralph Damiano answered
Alright, really appreciate it!
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi, There was an issue in the system and that has got fixed. You app is in review now and it wont crash in start for the same reason.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ralph Damiano avatar image
Ralph Damiano answered
Thanks for all the help, appreciate it!
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.