我用的是中兴的手机,已经ROOT。
debug时,代码:Cursor cursor = SQLiteUtil.getInstance().openSQLQuery(aaa, strSql);出错,日志文件显示:Failed to open database '/sdcard/mobile.db'.
E/SQLiteDatabase(3229): android.database.sqlite.SQLiteException: not an error (code 0): Could not open the database in read/write mode.
E/SQLiteDatabase(3229): at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
E/SQLiteDatabase(3229): at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:209)
E/SQLiteDatabase(3229): at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)
E/SQLiteDatabase(3229): at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked
..............
.........
.....
...
..
.
同样的程序再另外一台HTC的手机上没事
请问这是怎么回事,如何解决?
万分感谢~~~androidsqlite数据库debugcursor