getWritableDatabase called recursively;bind or column index out of range
来源:互联网 发布:知乎奢侈珠宝购买伦敦 编辑:程序博客网 时间:2024/05/17 09:29
ERROR/AndroidRuntime(4519): Caused by: java.lang.IllegalStateException: getWritableDatabase called recursively
出现这个错误,很大可能是你在继承SQLiteOpenHelper的时候,在onCreate()方法中使用了getWritableDatabase方法,如果要在onCeate中使用SQLiteDatabase的话可以不用getWritableDatabase,直接用onCreate()参数中的SQLiteDatabase就可以了。。
android.database.sqlite.SQLiteException: bind or column index out of range
主要是由于在用query时,选择条件中没有写成这样_id=?(参数用?号取代),如果没有用=?就会出现这问题。
- getWritableDatabase called recursively;bind or column index out of range
- SQLiteException: bind or column index out of range
- SQLiteException: bind or column index out of range
- Android 模糊搜索rawquery bind or column index out of range: handle 0x2fb180 报错
- android.database.sqlite.SQLiteException: bind or column index out of range: handle 0x580608
- getWritableDatabase called recursively
- Range or index out of bounds
- java.sql.SQLException:Column Index out of range,0<1
- 2016.8.9 Column Index out of range, 30,007 > 4
- java.sql.SQLException: Column Index out of range, 2 > 1.
- java.sql.SQLException:Column Index out of range,0<1
- java.sql.SQLException: Column Index out of range, 2 > 1.
- list index out of range
- RangeError: index out of range
- list index out of range
- tuple index out of range
- SQLite报错:getWritableDatabase called recursively的解决
- Out of range value adjusted for column
- 如何看懂源代码--(分析源代码方法)
- 什么是lib文件,lib和dll的关系如何
- C++命名空间
- Linux-Android启动之Init进程前传
- 链接器算法
- getWritableDatabase called recursively;bind or column index out of range
- String.Empty,NULL和""的区别
- 测试技术全景图,测试需要技术么?-从需求到发布
- 为什么会出现LNK2005"符号已定义"的链接错误?
- the difference between pointer and array (and variable)
- Linux 2.6.34 内核启动详细分析
- win7 与xp 互联步骤
- 动态链接库的创建
- 自动关闭QQ迷你首页的小程序(加上自己的一些理解)