java.lang.RuntimeException: Content has view with id attribute 'android.R.id.list_container' that is not a ViewGroup class

Stack Overflow | MoreOver | 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

    RuntimeException Content has view with id attribute 'android.R.id.list_container' that is not a ViewGroup class

    Stack Overflow | 7 months ago | MoreOver
    java.lang.RuntimeException: Content has view with id attribute 'android.R.id.list_container' that is not a ViewGroup class

    Root Cause Analysis

    1. java.lang.RuntimeException

      Content has view with id attribute 'android.R.id.list_container' that is not a ViewGroup class

      at android.support.v14.preference.PreferenceFragment.onCreateView()
    2. android.support.v14
      PreferenceFragment.onCreateView
      1. android.support.v14.preference.PreferenceFragment.onCreateView(PreferenceFragment.java:278)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.app.Fragment.performCreateView(Fragment.java:2059)
      2. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:899)
      3. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1076)
      4. android.app.BackStackRecord.run(BackStackRecord.java:833)
      5. android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1461)
      6. android.app.Activity.performStart(Activity.java:6031)
      7. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
      8. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2466)
      9. android.app.ActivityThread.access$1200(ActivityThread.java:152)
      10. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1341)
      11. android.os.Handler.dispatchMessage(Handler.java:102)
      12. android.os.Looper.loop(Looper.java:135)
      13. android.app.ActivityThread.main(ActivityThread.java:5538)
      13 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Method.java)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
      2 frames