no target device found android studio 2.1.1

后端 未结 14 1890
暖寄归人
暖寄归人 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:47

    I already had this problem before.

    Choose "Run" then "Edit Configurations". In the "General" tab, check the "Deployment Target Options" section.

    In my case, the target was already set to "USB Device" and the checkbox "Use same device for future launches" was checked.

    I had to change the target to "Show Device Chooser Dialog" and I unchecked the check box. Then my device appeared in the list.

    If your device still doesn't appear, then you have to enable USB-Debugging in the smartphone settings again.

提交回复
热议问题