Error inflating class fragment

后端 未结 30 2802
长发绾君心
长发绾君心 2020-11-22 14:38

I get the Error

Unable to start activity ComponentInfo{de.androidbuch.activiti/de.androidbuch.activiti.task.Activity}: android.view.InflateException: Binar         


        
30条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-22 14:44

    I got this error when using a ListFragment but the list view id was listView1 instead of list.

    'Your content must have a ListView whose id attribute is 'android.R.id.list''

    http://developer.android.com/reference/android/app/ListFragment.html

提交回复
热议问题