Android Studio: No target device found: Why?

后端 未结 2 761
故里飘歌
故里飘歌 2021-01-19 07:31

When I first start Android Studio opening an existing project, and click Run, I get the error message Error running app, No target device fou

相关标签:
2条回答
  • 2021-01-19 08:20
    • Check USB connection. Might be device is not connected properly.

    • Enable USB debugging mode on Device How to enable USB debugging in Android?

    • Select your device in tool bar and click on play button(Run application).
    0 讨论(0)
  • 2021-01-19 08:22

    I found my problem. Under Run->EditConfigurations->DeploymentTargetOptions, I selected USB Device (my phone is a USB device, right?). But noooo, when I select Open Select Deployment Target Dialog, everything is peachy. Also, checking Use same device for future launches bypasses the dialog entirely and all is good.

    0 讨论(0)
提交回复
热议问题