export PATH="/Users/myname/Library/Android/sdk/platform-tools:$PATH"
adb -s emulator-5554 shell
chmod 777 /data/data/com.me.myproject
chmod 777 /data/data
adb -s emulator-5554 pull /data/data/com.me.myproject
I had the same problem and I did this:
adb shell
run-as com.yourPackageName
(not rooted device) cp 'database/file_you_want.db' '/sdcard/file_you_want.db'
exit
exit
(now you will be back to main terminal window)adb pull /sdcard/xx.db
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With