litesuits / android-lite-orm

LiteOrm is a fast, small, powerful ORM framework for Android. LiteOrm makes you do CRUD operarions on SQLite database with a sigle line of code efficiently.
http://litesuits.com?form=gorm
Apache License 2.0
1.49k stars 362 forks source link

statement aborts at 31: [REPLACE INTO Object #37

Open jorry opened 8 years ago

jorry commented 8 years ago

android.database.sqlite.SQLiteDiskIOException: disk I/O error (code 1802) W/System.err(17618): at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method) W/System.err(17618): at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:972) W/System.err(17618): at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:788) W/System.err(17618): at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:86) W/System.err(17618): at com.litesuits.orm.db.assit.SQLStatement.execInsertWithMapping(SQLStatement.java:111)

litesuits commented 7 years ago

看起来是没有访问存储的权限导致的