Flutter设置Android Sdk
2020-10-11 本文已影响0人
Joshualley
想使用Windows上配置的Android Sdk中自带的模拟器运行app,但显示没有设备。
运行flutter doctor
命令后显示如下:

运行如下命令,即可解决:
# 路径一定要使用全路径
flutter config --android-sdk /sdk-path
想使用Windows上配置的Android Sdk中自带的模拟器运行app,但显示没有设备。
运行flutter doctor
命令后显示如下:
运行如下命令,即可解决:
# 路径一定要使用全路径
flutter config --android-sdk /sdk-path