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.

jileniao.net | 4 months ago
  1. 0

    Android6.0:新建eclipse工程遇到的几个错误记录 - 极乐鸟网站(Will)

    jileniao.net | 4 months ago
    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.
  2. 0

    Appcomat 테마 오류요.

    GitHub | 8 months ago | BrokenTeeth
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.test.permission/com.test.permission.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
  3. 0

    Android: IllegalStateException is thrown while calling AppCompatActivity

    Stack Overflow | 1 year ago | Rico Angeloni
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.marshall.politicalcompass/com.marshall.politicalcompass.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android App crashes after changing minSdkVersion

    Stack Overflow | 1 year ago | user1109363
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.cindy.myfirstapp/com.example.cindy.myfirstapp.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
  6. 0

    Android App crashes after splash screen

    Stack Overflow | 1 year ago | Digin Dominic
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.jarvis.digin/com.example.jarvis.digin.SplashScreen}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.

  1. Alexandru Popa 10 times, last 3 weeks ago
  2. Benny 10 times, last 4 months ago
  3. danleyb2Interintel 4 times, last 5 months ago
  4. dmitry 1 times, last 7 months ago
  5. asvid 2 times, last 7 months ago
1 more registered users
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    You need to use a Theme.AppCompat theme (or descendant) with this activity.

    at android.support.v7.app.AppCompatDelegateImplV7.createSubDecor()
  2. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.createSubDecor(AppCompatDelegateImplV7.java:331)
    2. android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:300)
    3. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:264)
    4. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:129)
    4 frames
  3. com.example.zxz
    MainActivity.onCreate
    1. com.example.zxz.MainActivity.onCreate(MainActivity.java:14)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5243)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2140)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2226)
    5. android.app.ActivityThread.access$700(ActivityThread.java:135)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1397)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:137)
    9. android.app.ActivityThread.main(ActivityThread.java:4998)
    9 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame