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.
SQLiteAssetHelper
Caused by: android.
Missing databases/mydb.sqlite file (or .zip, .gz archive) in assets, or target folder not writable Do you have the database file in your assets/databases folder? no, in assets folder only
Missing databases/mydb.sqlite file (or .zip, .gz archive) in assets, or target folder not writable Do you have the database file in your assets/databases folder?
Missing databases/mydb.sqlite file (or .zip, .gz archive) in assets, or target folder not writable
Do you have the database file in your assets/databases folder?
assets/databases
no, in assets folder only
SQLiteAssetHelper expects to find the prepopulated database file in databases folder under assets.
databases
assets