I put the database file in assets and did the following:
var db = SQLite.openDatabase({name : "players.db", createFromLocation : "~example.db", location: 'Library'});
it's work but when I got the apk output, it did not work and did not have any tables in the database at all. There is no error to open the database, but there is no data.
Please help me, I could not find a solution to this problem
I put the database file in
assets
and did the following:var db = SQLite.openDatabase({name : "players.db", createFromLocation : "~example.db", location: 'Library'});
it's work but when I got the
apk
output, it did not work and did not have any tables in the database at all. There is no error to open the database, but there is no data.Please help me, I could not find a solution to this problem