unable to copy database using SQLiteAssetHelper class

前端 未结 4 1122
野趣味
野趣味 2021-01-07 06:00

I am extending SQLiteAssetHelper class to use my pre-populated database from assets folder but my app crashed and gave an error saying Caused by: android.

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-07 06:19

    Right click on your database file in the Package Explorer,

    & click on the Properties.

    inside the Resource Tab make sure the "Write" Permission is Checked for the "Owner" and "Read" Permission is Checked for all the "Users".

提交回复
热议问题