I have found many questions about this problem, but I cannot fix it. I have a sqlite db database in a resource folder:
assets/data/data/{package_name}/databases/mydb.db
I can open the database and read the data before changing one table structure. I try to uninstall the application and install it again, but I get the same exception.
What can i do now?
Thanks in advance
EDIT
// The Android default system path of your application database. private static String DB_PATH = "/data/data/{mypagackename}/databases/"; private static String DB_NAME = "mydb.db";
Open the database (before changing the structure of the table, adding some fields, it does not work)
public void openDataBase() throws SQLException {
jzafrilla
source share