Hyperion-Android
Hyperion-Android copied to clipboard
Recording Activity crash with certain themes
We noticed this crash when the RecordingActivity does not inherit a Theme.AppCompat
child.
Application: com.nytimes.android.debug
Manufacturer: LGE
Model: Nexus 5X
Brand: google
Device: bullhead
Board: bullhead
Hardware: bullhead
Product: bullhead
Android Version: 8.1.0
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.nytimes.android.debug/com.willowtreeapps.hyperion.recorder.RecordingsActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778)
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
android.app.ActivityThread.-wrap11(Unknown Source:0)
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
android.os.Handler.dispatchMessage(Handler.java:106)
android.os.Looper.loop(Looper.java:164)
android.app.ActivityThread.main(ActivityThread.java:6494)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Caused by:
java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
android.support.v7.app.AppCompatDelegateImplV9.createSubDecor(AppCompatDelegateImplV9.java:354)
android.support.v7.app.AppCompatDelegateImplV9.ensureSubDecor(AppCompatDelegateImplV9.java:323)
android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:284)
android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)
com.willowtreeapps.hyperion.recorder.RecordingsActivity.onCreate(RecordingsActivity.java:22)
android.app.Activity.performCreate(Activity.java:7009)
android.app.Activity.performCreate(Activity.java:7000)
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
android.app.ActivityThread.-wrap11(Unknown Source:0)
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
android.os.Handler.dispatchMessage(Handler.java:106)
android.os.Looper.loop(Looper.java:164)
android.app.ActivityThread.main(ActivityThread.java:6494)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)