My Flutter workflow was going well until I updated Android Studio today.
I know this isn't a forum for Android Studio, but I also know that Flutter people are some of the smartest people around and you might have a solution for me.
I'm running macOS Mojave (10.14.16) (because I need 32-bit compatibility at least for now), and I was doing fine with Android Studio 3.x, but today, I installed 4.1.3, and now my emulator won't launch.
In Android Studio, I get zero helpful information regarding why it won't launch, but if I launch the emulator using the Flutter command line, I get this error:
joshua:~ jeff$ flutter emulators --launch Android
The Android emulator exited with code -6 during startup
Android emulator stderr:
dyld: Library not loaded: /System/Library/Frameworks/IOUSBHost.framework/Versions/A/IOUSBHost
Referenced from: /Volumes/Jeff/Library/Android/sdk/emulator/qemu/darwin-x86_64/qemu-system-x86_64
Reason: image not found
Address these issues and try again.
Looking in /System/Library/Frameworks/ I can confirm that IOUSBHost.framework is not there, and I don't think it was introduced into macOS until Mojave.
Does anyone have any ideas? I'm currently trying to downgrade my Android Studio back to 3.1, so we will se where that gets us, but I really would like to be on 4.x if possible.