Flutter app : IOS emulator not connecting to Android Studio

3,363

Solution 1

Follow below steps

Open Xcode

Xcode -> Preference -> Locations -> Command Line Tools

Select Xcode your_xcode_version

Now go to Android studio and run flutter doctor

Hope this one resolve your issue.

Solution 2

Did you try to execute flutter doctor command in your terminal to get more details on the issue ?

Share:
3,363
Sanjayrajsinh
Author by

Sanjayrajsinh

Updated on December 13, 2022

Comments

  • Sanjayrajsinh
    Sanjayrajsinh over 1 year

    In flutter development I want to connect iOS emulator to the android studio.

    when I open iOS emulator from android studio It will open but app not run. It give error like "No connected devices."

    Project is run from Xcode but from AndroidStidio in will not run

    Which version I Use:
    1) macOS Mojave-10.14.5
    2) AndroidStudio-3.4
    3) Xcode-10.3
    4) FlutterSDK-1.7.8
    5) Dart-2.4

    enter image description here

  • Sanjayrajsinh
    Sanjayrajsinh over 4 years
    yes I try that flutter doctor command and then I also tried that rest of command which given by flutter doctor
  • MattMatt
    MattMatt about 3 years
    Although it didn't fix my issue directly, going through these steps highlighted the fact that my CocoaPods installation was broken; I had two versions of Ruby, and CocoaPods was installed under the wrong one. So thanks!