adb command not found

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

    If you don't want to edit PATH variable, go to the platform-tools directory where the SDK is installed, and the command is there.

    You can use it like this:

    1. Go to the directory where you placed the SDK:

      cd /Users/mansour/Library/Developer/Android/sdk/platform-tools

    2. Type the adb command with ./ to use it from the current directory.

      ./adb tcpip 5555

      ./adb devices

      ./adb connect 192.168.XXX.XXX

提交回复
热议问题