Hello everybody,
I managed to load my SQLite database from assets and also want to all the user to completely wipe the SQLite database and reload a new one. When I do delete the database, reload it and want to re-open it, I get a Disk IO error and the database is empty although properly copied to the location. When I close the app and reload it, the new database is there.
*** SQL Error ***
SQL Query: SELECT tbl_name FROM sqlite_master WHERE type = 'table';
SQL Params: []
SQL Error: Error: Error code 10: disk I/O error
My assumption would be that the issue is that the SQLite database is not closed. Is there any chance to close it?
Thanks, Jan