Android: R cannot be resolved to a varia... 2012-07-27 10:58:32 上传者: wangdao下载(0) 浏览(57568) 评论(0) 推荐(0) 标签: Android:... 资源描述: Android开发过程中,碰到R cannot be resolved to a variable的报错信息,好像没有很确定的错误原因,一般来说,我总结出几个可能的解决方法,希望试过以后管用... 1. 检查Android 的SDK是否…
问题提出 错误提示:Your content must have a ListView whose id attribute is 'android.R.id.list' 关于解决Your content must have a ListView whose id attribute is 'Android.R.id.list'的问题: 很可能是因为我们要实现对ListView中setOnItemClick的事件监听而去继承了LiseActivity,但是却没有ListView的标签,解决问题方…