I am using SqliteAssetHelper to import a database from the asset folder and copy it to the standard database application folder.
It works quite randomly though…when I replace the .zip file in my asset folder with a new one and I run the application I get this error
E/AndroidRuntime(20036): Caused by: com.readystatesoftware.sqliteasset.SQLiteAssetException: Missing databases/adinspect.zip file in assets or target folder not writable
but I am sure the file “adinpect.zip” is there. I just updated my database schema, re-zipped it and replaced the file in the asset folder.
What am I missing?
Make sure you refresh the assets folder after you replace a file. Sometimes eclipse doesn’t register the file change.