I am trying to copy the general settings folder of my application to the / sdcard section from my PC using the following ADB command:
adb shell su -c "cp /data/data/com.anrapps.pixelbatterysaver/shared_prefs/ / SDCard / AppData /"
But this returns cp: Skipped dir '/data/data/com.anrapps.pixelbatterysaver/shared_prefs': No such file or directory . However, when running the ls command, it says that the folder is present:
adb shell su -c "ls / data / data / com.anrapps.pixelbatterysaver"
cache code_cache shared_prefs files
What is the problem? Could it be related to permission?
android shell cp adb ls
BamsBamx Oct 10 '16 at 15:23 2016-10-10 15:23
source share