Crashlytics显示异常,因为SQLiteDatabaseLockedException导致数据库被锁定,因此无法更改db的语言环境。
答案 0 :(得分:0)
尝试更改:
myDatabase = SQLiteDatabase.openDatabase(myPath, null, SQLiteDatabase.OPEN_READWRITE);
要:
myDatabase = SQLiteDatabase.openDatabase(myPath, null, SQLiteDatabase.NO_LOCALIZED_COLLATORS