java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jordanpeterson.textly/com.jordanpeterson.textly.ui.MainActivity}: java.lang.ClassCastException: android.support.v7.internal.widget.ContentFrameLayout cannot be cast to android.support.v7.internal.widget.NativeActionModeAwareLayout

teamtreehouse.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Help with ActionBarActivity | Treehouse Community

    teamtreehouse.com | 7 months ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jordanpeterson.textly/com.jordanpeterson.textly.ui.MainActivity}: java.lang.ClassCastException: android.support.v7.internal.widget.ContentFrameLayout cannot be cast to android.support.v7.internal.widget.NativeActionModeAwareLayout
  2. 0

    一个非常奇怪的问题!!!求大神解决下

    GitHub | 10 months ago | hiquanta
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.hiquanta.logisticsapp/com.hiquanta.logisticsapp.ui.LoginActivity}: java.lang.ClassCastException: android.support.v7.widget.ContentFrameLayout cannot be cast to android.support.v7.widget.ContentFrameLayout
  3. 0

    ClassCastException: android.support.v7.widget.ContentFrameLayout cannot be cast to android.support.v7.widget.ContentFrameLayout

    Stack Overflow | 2 months ago | doomtrooper
    java.lang.ClassCastException: android.support.v7.widget.ContentFrameLayout cannot be cast to android.support.v7.widget.ContentFrameLayout
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      android.support.v7.internal.widget.ContentFrameLayout cannot be cast to android.support.v7.internal.widget.NativeActionModeAwareLayout

      at android.support.v7.app.AppCompatDelegateImplV11.onSubDecorInstalled()
    2. Android v7
      AppCompatActivity.setContentView
      1. android.support.v7.app.AppCompatDelegateImplV11.onSubDecorInstalled(AppCompatDelegateImplV11.java:44)
      2. android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:405)
      3. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:246)
      4. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:106)
      4 frames
    3. com.jordanpeterson.textly
      MainActivity.onCreate
      1. com.jordanpeterson.textly.ui.MainActivity.onCreate(MainActivity.java:194)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:4471)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1924)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1985)
      5. android.app.ActivityThread.access$600(ActivityThread.java:123)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1151)
      7. android.os.Handler.dispatchMessage(Handler.java:99)
      8. android.os.Looper.loop(Looper.java:137)
      9. android.app.ActivityThread.main(ActivityThread.java:4429)
      9 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:3151)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:2918)
      2 frames
    7. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame