Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recording Activity crash with certain themes #135

Open
tiwiz opened this issue Jul 12, 2018 · 0 comments
Open

Recording Activity crash with certain themes #135

tiwiz opened this issue Jul 12, 2018 · 0 comments

Comments

@tiwiz
Copy link
Contributor

tiwiz commented Jul 12, 2018

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)
tiwiz added a commit to tiwiz/Hyperion-Android that referenced this issue Jul 12, 2018
@tiwiz tiwiz mentioned this issue Jul 12, 2018
Kritarie added a commit that referenced this issue Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant