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

GitHub | gkylafas | 8 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

    GitHub comment 2520#230723655

    GitHub | 8 months ago | gkylafas
    java.lang.RuntimeException: Content has view with id attribute 'android.R.id.list_container' that is not a ViewGroup class
  2. 0

    Can't get PreferenceFragmentCompat to work

    Stack Overflow | 2 months ago | Michael Groenendijk
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.cochat.android/com.cochat.android.ui.groups.details.GroupDetailsActivity}: java.lang.RuntimeException: Content has view with id attribute 'android.R.id.list_container' that is not a ViewGroup class

    1 unregistered visitors

    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.v7.preference.PreferenceFragmentCompat.onCreateView()
    2. android.support.v7
      PreferenceFragmentCompat.onCreateView
      1. android.support.v7.preference.PreferenceFragmentCompat.onCreateView(PreferenceFragmentCompat.java:264)
      1 frame