adb command not found

后端 未结 20 2400
刺人心
刺人心 2020-12-22 15:32

I need to run an adb forward command before I could use the ezkeyboard application which allows user to type on the phone using browser.

When

20条回答
  •  独厮守ぢ
    2020-12-22 16:30

    I am using Mac 10.11.1 and using android studio 1.5, I have my adb "/Users/user-name/Library/Android/sdk/platform-tools"

    Now edit you bash_profile

    emacs ~/.bash_profile
    

    Add this line to your bash_profile, and replace the user-name with your username

    export PATH="$PATH:/Users/user-name/Library/Android/sdk/platform-tools"
    

    save and close. Run this command to reload your bash_profile

    source ~/.bash_profile
    

提交回复
热议问题