由网友(痣梇)分享简介:如何通过亚行的shell命令提取Android设备的应用程序的数据库?How to extract database of an application from android device through adb shell command?感谢推荐答案数据库存储在文件中,主要是在内部存储,在应用程序的数据...
如何通过亚行的shell命令提取Android设备的应用程序的数据库?
How to extract database of an application from android device through adb shell command?
感谢
推荐答案
数据库存储在文件中,主要是在内部存储,在应用程序的数据,如目录:
Databases are stored in files, mostly on internal storage, in App's data directory like :
/data/data/com.example.myapp/mydb
所以你可以做
so you can do
adb pull /data/data/com.example.myapp/mydb
然后就可以使用一些软件以打开该文件,并与数据库工作。为了将其放回:
Then you can use some software to open that file, and work with data base. To place it back:
adb push <new file> /data/data/com.example.myapp/mydb
相关推荐
最新文章