I wanted to add database to my android project, other databases that are on phone seem to work fine. When i tried mine, utility i try to view my db, reports that database image is malformed and it can’t execute query to list tables and views.
I tried to copy db manually and see if something wrong happens when i copy it from assets to data folder, but result was the same. I also copied db back to windows and all worked fine.
So my question is: what could be reason of such incompatibility and how i could fix it?
Database file i’ve been using was used during development of database and had quite history of changes. I think either that, version of my file or something completly else was reason of my problems.
Way i fixed it was to create empty database with exact same schema and copy all contents of problematic database file into there. I achieved it using SQLite command line shell.