I'm trying to replace the database of my app with ADB, on a rooted device. I follow these steps:
$adb shellrun-as my.app.packagecd databasesrm my_database.dbchmod 777 .exitexit$adb push my_database.db /data/data/my.app.package/databases/my_database.db
The new database is copied successfully. But when open I launch my app again, it seems that the new database is deleted an created again. Why?
Thanks.
Aucun commentaire:
Enregistrer un commentaire