adb command not found

后端 未结 20 2453
刺人心
刺人心 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:35

    Type the below command in terminal:

    nano .bash_profile

    And add the following lines (replace USERNAME with your own user name).

    export ANDROID_HOME=/Users/USERNAME/Library/Android/sdk 
    export PATH=${PATH}:${ANDROID_HOME}/tools 
    export PATH=${PATH}:${ANDROID_HOME}/platform-tools
    

    Close the text editor, and then enter the command below:

    source .bash_profile

提交回复
热议问题