Android Studio安装flutter插件后找不到设备(no devices)

首先确认Android Studio已经安装了模拟器

然后在命令行执行如下命令:

flutter config --android-sdk D:\Android\Sdk  (flutter SDK要已经提前安装好, D:\Android\Sdk是Android的SDK安装目录)

C:\Users\22892>flutter config --android-sdk D:\Android\Sdk
Setting "android-sdk" value to "D:\Android\Sdk".

You may need to restart any open editors for them to read new settings.

最后重启Android Studio

Android Studio安装flutter插件后找不到设备(no devices)

相关推荐