1、在自己Mac上安装了Android Studio,打开原来的Flutter项目,由于我是做iOS开发的,自然电脑上有iOS的模拟器,但是Android Studio 上一直是在loading iOS模拟器。

2、运行了flutter doctor,如下图所示,主要是我圈圈的这两块,按照提示的指令,进行修复。

flutter doctor --android-licenses
brew update
brew uninstall --ignore-dependencies libimobiledevice
brew uninstall --ignore-dependencies usbmuxd
brew install --HEAD usbmuxd
brew unlink usbmuxd
brew link usbmuxd
brew install --HEAD libimobiledevice
brew install ideviceinstaller

 

android studio flutter 运行到windows 上 flutter android studio 切换ios_flutter

 

 3、最后重启Android Studio,里面就可以选择iOS模拟器运行了

android studio flutter 运行到windows 上 flutter android studio 切换ios_Flutter_02

 

 

android studio flutter 运行到windows 上 flutter android studio 切换ios_flutter_03