Home > Software design >  Flutter app can run in Xcode and not in Android Studio
Flutter app can run in Xcode and not in Android Studio

Time:10-02

As the title suggests, I simply cannot run my flutter app on Android Studio (using the IOS simulator). Somehow, if I run and fix all Xcode errors in Xcode itself, I am able to run it. However, when I try to run it in android studio a second later, many errors appear coming from the IOS build. There is no specific error log as the warning are always different. Here are some of the causes that I am suspicious of:

  1. I updated to Xcode 13, which has a new build system.
  2. I updated to a new Flutter version.
  3. I updated to a new Android Studio Version (Arctic Fox).

I have tried many things, including:

Pod deintegrate** & pod install
Cleaning and running
Restarting the computer
Legacy build system

enter image description here

Voilá!

  • Related