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 | 5 months ago
  1. 0

    Help with ActionBarActivity | Treehouse Community

    teamtreehouse.com | 5 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 | 7 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

    Can't cast SearchView in Fragment (AppCompat)

    Stack Overflow | 3 years ago | Pontus Backlund
    java.lang.ClassCastException: android.support.v7.internal.view.menu.MenuItemWrapperJB cannot be cast to android.support.v7.widget.SearchView
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting class cast exception while using android.support.v7.widget.SearchView

    Stack Overflow | 3 years ago | Prateek
    java.lang.ClassCastException: android.support.v7.internal.view.menu.MenuItemWrapperICS$CollapsibleActionViewWrapper cannot be cast to android.support.v7.widget.SearchView
  6. 0

    Rendering errors on preview

    Stack Overflow | 2 months ago | MichelReap
    java.lang.ClassCastException: android.support.v7.widget.ActionBarOverlayLayout cannot be cast to android.support.v7.internal.widget.ActionBarOverlayLayout

    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.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