• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

First app newbie, won't run on some devices - need help

Newbie working on first app, have it live on Google Play and worked on every device I could get my hands on without issue before release. I'm now getting reports of it installing but not running on quite a few devices, and have the following report:

java.lang.RuntimeException:

at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2521)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2601)
at android.app.ActivityThread.access$800 (ActivityThread.java:178)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1470)
at android.os.Handler.dispatchMessage (Handler.java:111)
at android.os.Looper.loop (Looper.java:194)
at android.app.ActivityThread.main (ActivityThread.java:5637)
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:960)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:755)

Caused by: java.lang.RuntimeException:
at android.app.ActivityManager$TaskDescription.<init> (ActivityManager.java:555)
at android.app.Activity.onApplyThemeResource (Activity.java:3741)
at android.view.ContextThemeWrapper.initializeTheme (ContextThemeWrapper.java:140)
at android.view.ContextThemeWrapper.setTheme (ContextThemeWrapper.java:85)
at android.support.v7.app.AppCompatActivity.setTheme (AppCompatActivity.java:90)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2461)

Would any of this be a standard or common issue, or would anyone have some help with what would need to be fixed for it?

Thanks, and fingers crossed.
 
There's not enough stack trace there to diagnose the problem.
Well at least nothing seems to originate in your app's code, because that is all framework stuff.
Does the app start at all, or crash at some point while running?

But if there is more stack trace then please show it. You are looking for something which relates to your code. RuntimeException is pretty generic and covers all manner of problems. Is there a more specific type of exception in the stack trace?
 
That's the first part of my issue, this is the only information I can find within Google Console on the crashes. From the users feedback the app installs, but when opened it comes up with 'the app has stopped working' and won't actually start up.
 
Sorry but there's not much you can do with that incomplete stack trace.
Does this happen on a specific device?
 
Yes, the RuntimeException is pretty generic. Do you know which device models your app does not support? Can you reproduce this issue?
 
Back
Top Bottom