伙计们
当我想用flutter create --org com.example.myapp myapp
命令创建新的Flutter项目时,它只创建web
文件夹,而不是android
和ios
文件夹。我还尝试从Android Studio创建一个Flutter项目,但它也只创建了web
文件夹。我不知道为什么
当我尝试使用flutter create --platforms=android,ios .
命令在项目文件夹中添加对Android和iOS的支持时,我收到以下消息:
Recreating project ....
Resolving dependencies...
Got dependencies.
Wrote 0 files.
All done!
You can find general documentation for Flutter at: https://docs.flutter.dev/
Detailed API documentation is available at: https://api.flutter.dev/
If you prefer video documentation, consider: https://www.youtube.com/c/flutterdev
In order to run your application, type:
$ cd .
$ flutter run
Your application code is in ./lib/main.dart.
但没有附加的支撑。flutter doctor
没有返回任何可疑信息:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.2, on macOS 13.3.1 22E772610a darwin-x64, locale en-GB)
[✓] Chrome - develop for the web
[✓] IntelliJ IDEA Community Edition (version 2022.2.2)
[✓] VS Code (version 1.78.2)
[✓] Connected device (3 available)
[✓] Network resources
• No issues found!
这能有什么问题
1条答案
按热度按时间3zwtqj6y1#
我是这样解决的: