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 361 forks source link

android 三星手机打开数据库出问题 #58

Open XiaYongjie opened 7 years ago

XiaYongjie commented 7 years ago

ava.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteQuery: SELECT * FROM sqlite_master WHERE type='table' ORDER BY name at android.database.sqlite.SQLiteClosable.acquireReference(SQLiteClosable.java:55) at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:58) at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:143) at android.database.sqlite.SQLiteCursor.getCount(SQLiteCursor.java:132) at com.litesuits.orm.db.assit.Querier.doQuery(Querier.java:27) at com.litesuits.orm.db.TableManager.initAllTablesFromSQLite(TableManager.java:245) at com.litesuits.orm.db.TableManager.initSqlTable(TableManager.java:78) at com.litesuits.orm.db.TableManager.(TableManager.java:73) at com.litesuits.orm.LiteOrm.openOrCreateDatabase(LiteOrm.java:86) at com.litesuits.orm.LiteOrm.(LiteOrm.java:75) at com.litesuits.orm.db.impl.SingleSQLiteImpl.(SingleSQLiteImpl.java:31) at com.litesuits.orm.db.impl.SingleSQLiteImpl.newInstance(SingleSQLiteImpl.java:36) at com.litesuits.orm.LiteOrm.newSingleInstance(LiteOrm.java:119) at com.uns.utils.LiteOrmDBUtil.createDb(LiteOrmDBUtil.java:28)

XiaYongjie commented 7 years ago

设备信息 android 6.0.1 (23),samsung:SM-G9200:arm64-v8a