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

GitHub | gkylafas | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 2520#230723655

    GitHub | 10 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 | 4 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