oscarb / pinapple

Pinapple is an easy and safe Android app that remembers pin codes for you.
0 stars 1 forks source link

App wont start, Theme.AppCompat bug #32

Closed oscarb closed 8 years ago

oscarb commented 8 years ago

Crash reported by user.

Application version: 8 Android version: Android 4.4 Device: Xperia™ E4g (E2003)

java.lang.RuntimeException: Unable to start activity ComponentInfo{se.oscarb.pinapple/se.oscarb.pinapple.PasscodeActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2433)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2484)
    at android.app.ActivityThread.access$800(ActivityThread.java:158)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1391)
    at android.os.Handler.dispatchMessage(Handler.java:110)
    at android.os.Looper.loop(Looper.java:193)
    at android.app.ActivityThread.main(ActivityThread.java:5486)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645)
    at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
    at android.support.v7.a.l.x(Unknown Source)
    at android.support.v7.a.l.w(Unknown Source)
    at android.support.v7.a.l.b(Unknown Source)
    at android.support.v7.a.d.setContentView(Unknown Source)
    at se.oscarb.pinapple.PasscodeActivity.onCreate(Unknown Source)
    at android.app.Activity.performCreate(Activity.java:5368)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1090)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2387)
    ... 11 more