No connected devices found; please connect a device

 ̄綄美尐妖づ 提交于 2021-02-11 08:57:07

问题


I just open my flutter project in android studio but android studio cannot detect any device. I already installed two emulator from AVD manager but still I face with this error


回答1:


Mostly this happens when your Android SDK path is not configured. To do this you can do it as follow:

  1. First of all make sure make sure you followed the installation process

  2. Go to File -> Project Structure select Project from left tab and select <No SDK>

  3. Then from the devices list click on one of the AVDs to run
  4. Make sure your build gradle correctly done
  5. Run flutter doctor to check if devices are connected
  6. Run your project


来源:https://stackoverflow.com/questions/60393155/no-connected-devices-found-please-connect-a-device

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!