作者:鱼咸4406 | 来源:互联网 | 2023-10-13 11:58
Iamcopyingapre-existingdatabasetodatadatapackagenamedatabasesusingcodelearnedfromusi
I am copying a pre-existing database to /data/data/packagename/databases
using code learned from using-your-own-sqlite-database-in-android-applications
我正在使用从您自己的sqlite-database-in-android-applications中学习的代码将预先存在的数据库复制到/ data / data / packagename / databases
After copying, I recieve the following log message on opening the database:
复制后,我在打开数据库时收到以下日志消息:
No such table android_metadata
没有这样的表android_metadata
Do I need to create a table named android_metadata? And what the values do i need insert into this database table
我是否需要创建一个名为android_metadata的表?我需要将值插入此数据库表中
Thanks very much
非常感谢
7 个解决方案