问题描述
今天,我已经开始学习Flutter.我在Mac中使用Android Studio.我已经
Today I have started learning Flutter. I am using Android Studio in Mac.I have already
- 在Android Studio中配置了Flutter和Dart插件.
- 安装了Flutter SDK.
因此,我能够在Android模拟器中运行Flutter应用.但是,当我选择IOS模拟器**(打开iOS模拟器**)时.它说
So I am able to run Flutter app in Android Emulator. However, when I select IOS simulator**(Open iOS Simulator**) . It says this
我没有使用XCode的经验,也没有在Mac中安装它.
I do not have any experience is XCode and I have not installed it in my Mac.
我的问题是
- 如何安装模拟器?
- 我需要在Mac中安装Xcode才能运行Simulator吗? (模拟器Xcode附带)
- 我的理解是,在Android Studio中安装Flutter插件会以及导入iOS模拟器.我错了吗?
- How do I install the Simulator?
- Do I need the Xcode installed in Mac for running Simulator? (Does Simulatorcome with Xcode)
- My understanding was that installing the Flutter plugin in Android Studio willimport iOS simulator as well. Am I wrong?
我发现了类似的问题,但并不清楚.
I found similar question but did not get the clarity.
推荐答案
您还可以通过打开首选项">位置"并从下拉列表中选择它来从Xcode配置Xcode命令行工具.
You can also configure the Xcode command-line tools from Xcode by opening Preferences>Location and selecting it from dropdown.
选择Xcode版本后,您可以在Android Studio中为Flutter项目找到iOS模拟器名称.
After selecting Xcode version you can find iOS Simulator name in your Android Studio for flutter project.
这篇关于如何在Flutter应用程序的Android Studio中打开IOS Simulator的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!