相关疑难解决方法(0)

将默认构建目标从 flutter for web 更改为 flutter for Android

我正在使用 VS 代码。在为 web 构建 flutter 的一些实验之后,它开始为 web 默认构建每个项目。默认情况下,我需要将其取回 Android 版本。

PS D:\code\2019\dart_app1\app1> flutter devices
2 connected devices:
Windows • Windows • windows-x64    • Microsoft Windows [Version 10.0.17134.984]
Chrome  • chrome  • web-javascript • Google Chrome 76.0.3809.132
Run Code Online (Sandbox Code Playgroud)
>PS D:\code\2019\dart_app1\app1> flutter emulators
3 available emulators:
Nexus_5X_API_29  • Nexus 5X API 29  • Google • android
Nexus_9_API_28   • Nexus 9 API 28   • Google • android
flutter_emulator • flutter emulator • Google • android
To run an emulator, run 'flutter emulators --launch …
Run Code Online (Sandbox Code Playgroud)

flutter

8
推荐指数
1
解决办法
2251
查看次数

标签 统计

flutter ×1