wmd看海 2020-05-01
首先确认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