copy db file with adb pull results in 'permission denied' error

前端 未结 15 816
执笔经年
执笔经年 2020-12-13 17:13

I just rooted my Nexus 5 using this method: http://www.phonearena.com/news/How-to-root-Google-Nexus-5_id49014

I also enabled USB debugging in the developer options.<

15条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-13 17:47

    The pull command is:

    adb pull source dest
    

    When you write:

    adb pull /data/data/path.to.package/databases/data /sdcard/test
    

    It means that you'll pull from /data/data/path.to.package/databases/data and you'll copy it to /sdcard/test, but the destination MUST be a local directory. You may write C:\Users\YourName\temp instead.

    For example:

    adb pull /data/data/path.to.package/databases/data c:\Users\YourName\temp
    

提交回复
热议问题