当前位置:Gxlcms >
数据库问题 >
adb opendir failed,Permission denied
adb opendir failed,Permission denied
时间:2021-07-01 10:21:17
帮助过:2人阅读
com.your.package
run-as com.your.package
shell@pisces:/data/data/com.your.package $ cd /data/data/com.your.package
cd /data/data/com.your.package
shell@pisces:/data/data/com.your.package $ ls
ls
cache
databases
lib
shell@pisces:/data/data/com.your.package $ cd databases
cd databases
shell@pisces:/data/data/com.your.package/databases $ ls
your.db
your.db-journal
最后将你要访问的package目录下的db文件拷贝到sdcard中,这样就可以正常访问了
$ cat preferences.db > /mnt/sdcard/yourpackagename.db
参考资料:http://denniskubes.com/2012/09/25/read-android-data-folder-without-rooting/
例如:
adb opendir failed,Permission denied
标签: