80,360
社区成员
发帖
与我相关
我的任务
分享
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的手机上没事<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />