1. Are you ready for the Galaxy S20? Here is everything we know so far!

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

Discussion in 'Android Development' started by murray_s_app, Oct 24, 2018.

  1. murray_s_app

    murray_s_app Lurker
    Thread Starter

    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.
     

    Advertisement

  2. Deleted User

    Deleted User Guest

    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?
     
  3. murray_s_app

    murray_s_app Lurker
    Thread Starter

    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.
     
  4. Deleted User

    Deleted User Guest

    Sorry but there's not much you can do with that incomplete stack trace.
    Does this happen on a specific device?
     
  5. James_Watson

    James_Watson Android Enthusiast

    Yes, the RuntimeException is pretty generic. Do you know which device models your app does not support? Can you reproduce this issue?
     
Loading...
Similar Threads - app newbie won't
  1. bkelly13
    Replies:
    0
    Views:
    58
  2. spiderman1234
    Replies:
    1
    Views:
    85
  3. Hardhguy
    Replies:
    4
    Views:
    144
  4. Android Andy
    Replies:
    0
    Views:
    123
  5. asit96
    Replies:
    1
    Views:
    203
  6. SillyQuestionAsker
    Replies:
    5
    Views:
    231
  7. Fast2020
    Replies:
    2
    Views:
    168
  8. BrRRy333
    Replies:
    1
    Views:
    217
  9. Foxysmom
    Replies:
    3
    Views:
    191
  10. Bggunnz
    Replies:
    1
    Views:
    287

Share This Page

Loading...