adb command not found in linux environment

前端 未结 21 1370
有刺的猬
有刺的猬 2020-12-07 19:07

While implementing the BluetoothChat application .apk inside G1 device, it always pops up a message:

$adb install -r /home/parveen/workspace/BluetoothChat/bi         


        
21条回答
  •  爱一瞬间的悲伤
    2020-12-07 19:26

    Updating the path as listed above in ~/.bashrc makes other bash commands stop working altogether.

    the easiest way I found is to use what eaykin did but link it your /bin.

    sudo ln -s /android/platform-tools/adb /bin/adb
    

    No restart is required just type following command :

    adb devices
    

    To make sure it's working.

提交回复
热议问题