1.Android license status unknown.
执行
flutter doctor --android-licenses
2.An error occurred during installation: Failed to move away or delete existing target file: C:aplicationSDKtools
安装as的sdk即可,https://www.androiddevtools.cn/
3.Unable to locate Android SDK.
添加用户的环境变量ANDROID_HOME,把你SDK的位置填上,重启电脑即可
如图:
4. Flutter plugin not installed; this adds Flutter specific functionality.
Dart plugin not installed; this adds Dart specific functionality.
在as中安装Flutter和Dart插件两个插件。
Flutter插件: 支持Flutter开发工作流 (运行、调试、热重载等).
Dart插件: 提供代码分析 (输入代码时进行验证、代码补全等).
启动Android Studio.
打开插件首选项 (Preferences>Plugins on macOS, File>Settings>Plugins on Windows & Linux).
选择 Browse repositories…, 选择 Flutter 插件并点击 install.
重启Android Studio后插件生效.
版权属于:小小窝/禾下月
本文链接:https://hxyxyz.top/index.php/%E6%8A%80%E6%9C%AF/112.html
本站文章采用 知识共享署名4.0 国际许可协议 进行许可,请在转载时注明出处及本声明!