I am unable to pull a the database from the device even after changing the permission. I have a rooted phone.
It used to work. I could pull before. For some unknown reason now I cannot.
The error I receive is
remote object '/data/data/com.thuptencho.transitbus/databases/ttc.db' does not exist
Does anybody know why this is happening?
Below is what I did in command window.
C:\users\thupten>adb shell
shell@android:/ $ su
su
root@android:/ # cd /data/data/com.thuptencho.transitbus/databases/
cd /data/data/com.thuptencho.transitbus/databases/
root@android:/data/data/com.thuptencho.transitbus/databases # ls
ls
ttc.db
ttc.db-journal
webview.db
webview.db-journal
webviewCookiesChromium.db
webviewCookiesChromiumPrivate.db
ro
在尝试从已root的手机上使用adb拉取数据库ttc.db时,遇到权限问题。尽管执行了chmod 777,仍然提示远程对象不存在。在命令窗口中查看数据库文件存在,但拉取操作失败。最终解决方案是不仅对数据库文件,还需要对包含该数据库的databases文件夹执行chmod操作。
最低0.47元/天 解锁文章
772

被折叠的 条评论
为什么被折叠?



