java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.jileniao/com.example.jileniao.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Appcomat 테마 오류요.
    via GitHub by BrokenTeeth
    ,
  • Android Login and Registration with PHP MySQL
    via by Unknown author,
  • GitHub comment 77#160250933
    via GitHub by Fleker
    ,
  • Download activity unfortunately stopped
    via Stack Overflow by user5524159
    ,
    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.jileniao/com.example.jileniao.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2176) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2226) at android.app.ActivityThread.access$700(ActivityThread.java:135) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1397) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4998) 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:777) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593) 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.app.AppCompatDelegateImplV7.createSubDecor(AppCompatDelegateImplV7.java:331) at android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:300) at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:264) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:129) at com.example.zxz.MainActivity.onCreate(MainActivity.java:14) at android.app.Activity.performCreate(Activity.java:5243) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2140) ... 11 more

    Users with the same issue

    syntech16
    syntech161 times, last one,
    Indri Yunita
    Indri Yunita1 times, last one,
    filpgame
    filpgame3 times, last one,
    Alexandru Popa
    Alexandru Popa10 times, last one,
    Benny
    Benny10 times, last one,
    10 more bugmates