adb shell run-as /data/data/com.mypackagename
returns
adb command not found
though I see adb in the dir
If you are using Catalina:
echo 'export PATH=$PATH:~/Library/Android/sdk/platform-tools/' >> ~/.zshrc source ~/.zshrc adb devices