How to open iOS Simulator in Android Studio for Flutter application

前端 未结 9 1703
臣服心动
臣服心动 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:23

    If iOS device not showing in an android studio then first open up simulator app in mac.

    Open simulator app

    after simulator is loaded, go to Hardware -> Device -> Manage Device and uncheck the physical device and go to simulator tab and choose the required simulator and check it 'Show as run destination' and reload android studio.

    It will start showing in android studio and now you can run your flutter app in both android and iOS.

    Manage Device

提交回复
热议问题