java.lang.RuntimeException: Unable to start activity ComponentInfo{com.appcelerator.directory/org.appcelerator.titanium.TiActivity}: java.lang.IllegalArgumentException: AppCompat does not support the current theme features

Appcelerator JIRA | Leor Brenman | 1 year ago
  1. 0

    Employee Directory sample app will not build for Android using 4.1.0.GA Throws following error: [ERROR] : TiApplication: (main) [841,841] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to start activity ComponentInfo{com.appcelerator.directory/org.appcelerator.titanium.TiActivity}: java.lang.IllegalArgumentException: AppCompat does not support the current theme features; Titanium 4.1.0,2015/07/06 11:15,d57aa7d [ERROR] : TiApplication: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.appcelerator.directory/org.appcelerator.titanium.TiActivity}: java.lang.IllegalArgumentException: AppCompat does not support the current theme features [ERROR] : TiApplication: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298) [ERROR] : TiApplication: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360) [ERROR] : TiApplication: at android.app.ActivityThread.access$800(ActivityThread.java:144) [ERROR] : TiApplication: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278) [ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:102) [ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:135) [ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:5221) [ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Native Method) [ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Method.java:372) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) [ERROR] : TiApplication: Caused by: java.lang.IllegalArgumentException: AppCompat does not support the current theme features [ERROR] : TiApplication: at android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:360) [ERROR] : TiApplication: at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:237) [ERROR] : TiApplication: at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:111) [ERROR] : TiApplication: at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:562) [ERROR] : TiApplication: at org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18) [ERROR] : TiApplication: at android.app.Activity.performCreate(Activity.java:5933) [ERROR] : TiApplication: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105) [ERROR] : TiApplication: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251) [ERROR] : TiApplication: ... 10 more Using SDK version 4.0.0.GA is OK. Also, according to the client, the following Q&A contains an acceptable workaround: https://community.appcelerator.com/topic/2557/android-theme-windownoactionbar-throws-error-on-4-1-0-ga/4

    Appcelerator JIRA | 1 year ago | Leor Brenman
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.appcelerator.directory/org.appcelerator.titanium.TiActivity}: java.lang.IllegalArgumentException: AppCompat does not support the current theme features
  2. 0

    Employee Directory sample app will not build for Android using 4.1.0.GA Throws following error: [ERROR] : TiApplication: (main) [841,841] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to start activity ComponentInfo{com.appcelerator.directory/org.appcelerator.titanium.TiActivity}: java.lang.IllegalArgumentException: AppCompat does not support the current theme features; Titanium 4.1.0,2015/07/06 11:15,d57aa7d [ERROR] : TiApplication: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.appcelerator.directory/org.appcelerator.titanium.TiActivity}: java.lang.IllegalArgumentException: AppCompat does not support the current theme features [ERROR] : TiApplication: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298) [ERROR] : TiApplication: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360) [ERROR] : TiApplication: at android.app.ActivityThread.access$800(ActivityThread.java:144) [ERROR] : TiApplication: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278) [ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:102) [ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:135) [ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:5221) [ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Native Method) [ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Method.java:372) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694) [ERROR] : TiApplication: Caused by: java.lang.IllegalArgumentException: AppCompat does not support the current theme features [ERROR] : TiApplication: at android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:360) [ERROR] : TiApplication: at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:237) [ERROR] : TiApplication: at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:111) [ERROR] : TiApplication: at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:562) [ERROR] : TiApplication: at org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18) [ERROR] : TiApplication: at android.app.Activity.performCreate(Activity.java:5933) [ERROR] : TiApplication: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105) [ERROR] : TiApplication: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251) [ERROR] : TiApplication: ... 10 more Using SDK version 4.0.0.GA is OK. Also, according to the client, the following Q&A contains an acceptable workaround: https://community.appcelerator.com/topic/2557/android-theme-windownoactionbar-throws-error-on-4-1-0-ga/4

    Appcelerator JIRA | 1 year ago | Leor Brenman
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.appcelerator.directory/org.appcelerator.titanium.TiActivity}: java.lang.IllegalArgumentException: AppCompat does not support the current theme features
  3. 0

    Not working with Ti SDK 4.1.1.GA?

    GitHub | 1 year ago | bitfabrikken
    java.lang.RuntimeException: Unable to start activity ComponentInfo{dk.bitfabrikken.tishadowapp/org.appcelerator.titanium.TiActivity}: java.lang.IllegalArgumentException: AppCompat does not support the current theme features
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    var win = Ti.UI.createWindow(); win.open(); generates [ERROR] : AndroidRuntime: FATAL EXCEPTION: main [ERROR] : AndroidRuntime: Process: com.braindoo.braindoo, PID: 16717 [ERROR] : AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.braindoo.braindoo/org.appcelerator.titanium.TiActivity}: java.lang.IllegalArgumentException: AppCompat does not support the current theme features: { windowActionBar: false, windowActionBarOverlay: false, android:windowIsFloating: false, windowActionModeOverlay: false, windowNoTitle: false } [ERROR] : AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3133) [ERROR] : AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3243) [ERROR] : AndroidRuntime: at android.app.ActivityThread.access$1000(ActivityThread.java:218) [ERROR] : AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1718) [ERROR] : AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) [ERROR] : AndroidRuntime: at android.os.Looper.loop(Looper.java:145) [ERROR] : AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6917) [ERROR] : AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) [ERROR] : AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:372) [ERROR] : AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404) [ERROR] : AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199) [ERROR] : AndroidRuntime: Caused by: java.lang.IllegalArgumentException: AppCompat does not support the current theme features: { windowActionBar: false, windowActionBarOverlay: false, android:windowIsFloating: false, windowActionModeOverlay: false, windowNoTitle: false } [ERROR] : AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV7.createSubDecor(AppCompatDelegateImplV7.java:421) [ERROR] : AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:278) [ERROR] : AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:243) [ERROR] : AndroidRuntime: at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:114) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.TiBaseActivity.setContentView(TiBaseActivity.java:532) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:650) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18) [ERROR] : AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6609) [ERROR] : AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1134) [ERROR] : AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3086) [ERROR] : AndroidRuntime: ... 10 more

    Appcelerator JIRA | 6 months ago | Andrea
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.braindoo.braindoo/org.appcelerator.titanium.TiActivity}: java.lang.IllegalArgumentException: AppCompat does not support the current theme features: { windowActionBar: false, windowActionBarOverlay: false, android:windowIsFloating: false, windowActionModeOverlay: false, windowNoTitle: false }
  6. 0

    var win = Ti.UI.createWindow(); win.open(); generates [ERROR] : AndroidRuntime: FATAL EXCEPTION: main [ERROR] : AndroidRuntime: Process: com.braindoo.braindoo, PID: 16717 [ERROR] : AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.braindoo.braindoo/org.appcelerator.titanium.TiActivity}: java.lang.IllegalArgumentException: AppCompat does not support the current theme features: { windowActionBar: false, windowActionBarOverlay: false, android:windowIsFloating: false, windowActionModeOverlay: false, windowNoTitle: false } [ERROR] : AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3133) [ERROR] : AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3243) [ERROR] : AndroidRuntime: at android.app.ActivityThread.access$1000(ActivityThread.java:218) [ERROR] : AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1718) [ERROR] : AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) [ERROR] : AndroidRuntime: at android.os.Looper.loop(Looper.java:145) [ERROR] : AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6917) [ERROR] : AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) [ERROR] : AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:372) [ERROR] : AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404) [ERROR] : AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199) [ERROR] : AndroidRuntime: Caused by: java.lang.IllegalArgumentException: AppCompat does not support the current theme features: { windowActionBar: false, windowActionBarOverlay: false, android:windowIsFloating: false, windowActionModeOverlay: false, windowNoTitle: false } [ERROR] : AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV7.createSubDecor(AppCompatDelegateImplV7.java:421) [ERROR] : AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:278) [ERROR] : AndroidRuntime: at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:243) [ERROR] : AndroidRuntime: at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:114) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.TiBaseActivity.setContentView(TiBaseActivity.java:532) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:650) [ERROR] : AndroidRuntime: at org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18) [ERROR] : AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6609) [ERROR] : AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1134) [ERROR] : AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3086) [ERROR] : AndroidRuntime: ... 10 more

    Appcelerator JIRA | 6 months ago | Andrea
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.braindoo.braindoo/org.appcelerator.titanium.TiActivity}: java.lang.IllegalArgumentException: AppCompat does not support the current theme features: { windowActionBar: false, windowActionBarOverlay: false, android:windowIsFloating: false, windowActionModeOverlay: false, windowNoTitle: false }

  1. adawolfs 2 times, last 4 months ago
  2. asvid 3 times, last 4 months ago
  3. Macapon 6 times, last 8 months ago
  4. Chandan Jha 39 times, last 6 months ago
7 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.IllegalArgumentException

    AppCompat does not support the current theme features

    at android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor()
  2. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:360)
    2. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:237)
    3. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:111)
    3 frames
  3. org.appcelerator.titanium
    TiActivity.onCreate
    1. org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:562)
    2. org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18)
    2 frames
  4. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5933)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)
    5. android.app.ActivityThread.access$800(ActivityThread.java:144)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:135)
    9. android.app.ActivityThread.main(ActivityThread.java:5221)
    9 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
    2 frames