no target device found android studio 2.1.1

后端 未结 14 1925
暖寄归人
暖寄归人 2021-02-04 23:31

i\'m using android studio 2.1.1 in ubuntu 14.04.Now my question is,i want to run the program through my phone without emulator. so i chose the target as usb dev

14条回答
  •  灰色年华
    2021-02-04 23:55

    try with

    sudo adb kill-server
    sudo devices
    

    or

    echo $ANDROID_HOME
    sudo $ANDROID_HOME/platform-tools/adb kill-server 
    sudo $ANDROID_HOME/platform-tools/adb devices
    

提交回复
热议问题