Android Studio: No target device found: Why?

后端 未结 2 760
故里飘歌
故里飘歌 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: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.

提交回复
热议问题