即使在我的设备上运行chmod 777后也无法adb拉数据库 [英] Cannot adb pull database even after chmod 777 on my device

查看:208
本文介绍了即使在我的设备上运行chmod 777后也无法adb拉数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

即使更改了权限,我也无法从设备中提取数据库。我的手机已经扎根。
它曾经可以工作。我可以拉过去。

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.

我收到的错误是
远程对象'/data/data/com.thuptencho。公交/数据库/ttc.db'不存在

有人知道为什么会这样吗?
以下是我在命令窗口中所做的操作。

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
root@android:/data/data/com.thuptencho.transitbus/databases # chmod 755 ttc.db
5 ttc.db                                                                      <
root@android:/data/data/com.thuptencho.transitbus/databases # chmod 777 ttc.db
7 ttc.db                                                                      <
root@android:/data/data/com.thuptencho.transitbus/databases # exit
exit
shell@android:/ $ exit
exit

C:\users\thupten>adb pull /data/data/com.thuptencho.transitbus/databases/ttc.db
remote object '/data/data/com.thuptencho.transitbus/databases/ttc.db' does not exist


推荐答案

我知道了。
我也必须先修改数据库文件夹,然后再修改文件。

I figured it out. I had to chmod the databases folder as well and then the file.

这篇关于即使在我的设备上运行chmod 777后也无法adb拉数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆