How do I run adb on a mac terminal?

前端 未结 6 1313
一个人的身影
一个人的身影 2021-02-02 07:29
adb shell run-as /data/data/com.mypackagename 

returns

adb command not found

though I see adb in the dir

6条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-02 07:53

    For Xamarin Studio users, this is a copy/paste from the Xamarin forums

    From Xamarin Studio, go to Tools, then select "Open Android SDK Command Prompt". This will open a terminal window and automatically navigate you to the Android SDK location. From there you can use the ADB command.

提交回复
热议问题