解决Your content must have a ListView whose id attribute is 'android.R.id.list' (2012-03-15 09:48:54) 转载▼ 分类: android开发 1.错误提示:Your content must have a ListView whose id attribute is 'an
1.错误提示:Your content must have a ListView whose id attribute is 'android.R.id.list' 对于以上错误,其实可能是因为我们要实现对ListView中setOnItemClick的事件监听而去继承了LiseActivity,但是却没有ListView的标签,只要在布局文件中添加定制Layout的代码,即将Lis
1.Your content must have a TabHost whose id attribute is 'android.R.id.tabhost' 解决 android:id="@android:id/tabhost"注意是@android:id,不是平时写的@id 2.Attempt to invoke virtual method 'boolean andr