How to open iOS Simulator in Android Studio for Flutter application

前端 未结 9 1616
臣服心动
臣服心动 2021-01-12 01:37

Today I have started learning Flutter. I am using Android Studio in Mac. I have already

  • Configured the Flutter and Dart plugins in Android studio.
  • Inst
9条回答
  •  太阳男子
    2021-01-12 02:40

    If you don't need IDE debugger support, you can skip the overhead of launching it through the IDE, and instead simply launch the Flutter app from the command line.

    Once Simulator is running, run these 2 commands:

    1. flutter doctor - to verify the simulator is recognized by Flutter and no other emulators are running
    • You should see this in the output:      [✓] Connected device (1 available)
    1. flutter run - will deploy the app to the know emulator or simulator

    Thanks to: https://flutter.dev/docs/get-started/install/macos#create-and-run-a-simple-flutter-app

提交回复
热议问题