问题
I wrote the following .bat file, but it did not work for me. Could anybody help me?
adb shell
su
cd /data/data
cp -r com.example.myapp /sdcard
exit
adb pull /sdcard/com.example.myapp
The .bat stop in the first command and did not go ahead. Just as this snapshot show. I would be greatly appreciated if someone could help me.
回答1:
You can run adb
as root
adb root
then you can just do
adb pull /data/data/com.example.myapp/ .
来源:https://stackoverflow.com/questions/38650191/how-can-i-pull-a-file-in-data-data-from-a-rooted-android-device-in-one-click-u