Android学习----异常(3)---java.lang.IllegalArgumentException: column '_id' does not exist
2014-04-24 09:49
721 查看
异常解决:使用simpleCursorAdapter封装Cursor是要求底层数据表的主键的列名为_id,因为SimpleCursorAdapter只能识别列名为_id的主键
语句:_id integer primary key autoincrement
相关文章推荐
- Android Caused by: java.lang.IllegalArgumentException: column '_id' does not exist
- android java.lang.IllegalArgumentException: column 'id' does not exist 错误
- Android Caused by: java.lang.IllegalArgumentException: column '_id' does not exist
- Android Caused by: java.lang.IllegalArgumentException: column '_id' does not exist
- Android Caused by: java.lang.IllegalArgumentException: column '_id' does not exist
- java.lang.IllegalArgumentException: column '_id' does not exist 的相关
- java.lang.IllegalArgumentException: column '_id' does not exist
- java.lang.IllegalArgumentException: column '_id' does not exist
- listview 加载的时候报java.lang.IllegalArgumentException: column ‘_id’ does not exist 错误
- java.lang.IllegalArgumentException: column '_id' does not exist
- java.lang.IllegalArgumentException: column '_id' does not exist
- 使用 SimpleCursorAdapter 时java.lang.IllegalArgumentException: column '_id' does not exist问题
- java.lang.IllegalArgumentException: column '_id' does not exist
- Android Caused by: java.lang.IllegalArgumentException: column '_id' does not exist
- java.lang.IllegalArgumentException: column '_id' does not exist 解决方法
- Tomcat的异常 之 java.lang.IllegalArgumentException: Document base xxx does not exist or is not a readab
- Android异常总结---E/AndroidRuntime(23439): Caused by: java.lang.IllegalArgumentException: column '_id' d
- Tomcat的异常 之 java.lang.IllegalArgumentException:Document base *** does not exist or is not a readable
- java.lang.IllegalArgumentException: column 'xxx' does not exist解决方法
- Tomcat的异常 之 java.lang.IllegalArgumentException:Document base *** does not exist or is not a readable