我在学习 android Data-Persistence 时遇到了麻烦。 我改变了 da enter image description here ta/data/com.flexible.filepersistencetest/files/data 权限为 777。但我仍然无法将它拉到我的电脑上。
当我尝试删除 Nexus_5_API_24.avd 的 Read-Only 权限时,Read-Only 将恢复。 这真的让我筋疲力尽。 任何建议都可以,非常感谢!
最佳答案
更改文件权限。
C:\Android\sdk\platform-tools> adb shell generic_x86:/ $ su generic_x86_64:/ # chmod -R 777 /data generic_x86_64:/ # exit
在 Android studio 集成的终端下运行以下命令。
C:\Android\sdk\platform-tools> adb shell generic_x86:/ $ generic_x86:/ $ exit $ adb root restarting adbd as root $ adb shell generic_x86:/ # exit
打开 cmd 窗口。
C:\Android\sdk\platform-tools> adb pull /data/data/xxxx C:\Android\sdk\platform-tools
关于android - - ddms] 传输错误 : open failed:Permission denied,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43708065/