No such table android_metadata, what's the problem?

后端 未结 7 1834
后悔当初
后悔当初 2020-12-07 15:37

I am copying a pre-existing database to /data/data/packagename/databases using code learned from using-your-own-sqlite-database-in-android-applications

7条回答
  •  自闭症患者
    2020-12-07 16:22

    Actually, with a bit more reading, I have discovered that I need to use the SQLiteDatabase.NO_LOCALIZED_COLLATORS flag when calling SQLiteDatabase.openDatabase() - this no longer causes the problem.

提交回复
热议问题