vendredi 26 décembre 2014

adb shell run-as command not working

I want to copy my database file from my app to sdcard, and I got success for the same, with following command:


adb -d shell "run-as com.app.packagagename cat /data/data/com.app.packagagename/databases/file.db > /sdcard/file.db"


But when I ran the same command on another pc connecting another device, it didn't recognize "run-as". Please help.


Aucun commentaire:

Enregistrer un commentaire