Android Question Database problem

anaylor01

Well-Known Member
Licensed User
Longtime User
So I copied the correct database to the folder where the old one was and overwrote it. I pushed it to the Emulator with ADB. But when I run release to my device the updated database doesn't seem to be there. How can I fix that?
 

klaus

Expert
Licensed User
Longtime User
Where did you copy it?
Add the new database in DirAssets.
In your code erase the old database and copy the new one.
Before the second run of the program comment the line where erased the database file.
 
Upvote 0

Similar Threads

Top