Today I learned I should include the app package name after shell in my ADB command, if for example I want to list files under the “subdirectory/media” directory of an app, like so: adb -s emulator-5556 shell run-as com.domain.my.app ls -al /data/user/0/com.domain.my.app/subdirectory/media First try’s command below failed with a Permission Denied error message: adb -s […]
adb
Run command automatically after updating a file on Mac
I get a kick out of automating things! Especially those seemingly easy extra steps that we do numerous times a day, everyday. There’s this configuration file that I frequently have to adb push into my test Android devices. And the cycle of editing the file, saving it, and then going to the terminal to run […]