I updated the Android Emulator in Android Studio. After the update i always get "The emulator process was killed" when i try to start an AVD.
I tried to start it from command line and get following error.
emulator: Android emulator version 30.5.3.0 (build_id 7196367) (CL:N/A) dyld: Library not loaded: /System/Library/Frameworks/IOUSBHost.framework/Versions/A/IOUSBHost Referenced from: /Users/NaoKreuzeder/Library/Android/sdk/emulator/qemu/darwin-x86_64/qemu-system-x86_64 Reason: image not found Abort trap: 6
I searched for file "IOUSBHost.framework" on my mac. But could not find it.
How to solve this? Can someone point me in the right direction to find a solution?
If the Android Emulator does not start properly, this problem is often caused by problems with HAXM. HAXM issues are often the result of conflicts with other virtualization technologies, incorrect settings, or an out-of-date HAXM driver. Try reinstalling the HAXM driver, using the steps detailed in Installing HAXM.
If the emulator fails to launch due to the error vulkan-1. dll cannot be found , you probably need to update the emulator. To update the emulator in Android Studio, go to Tools > SDK Manager and install the latest stable version of Android platform.
Build and package your app into an APK as described in Build and Run Your App. Start the emulator from the command line as described in the previous section, using any startup options necessary. Install your app using adb. Run and test your app on the emulator.
I do not have a solution to provide, but I can confirm that the problem appears in the following configuration:
I can also confirm that in newer version of macsos like Big Sure (11.2.3) with the same versions of development tools everything works fine, because the IOUSBHost.framework exists.
From Apple developer website https://developer.apple.com/documentation/iousbhost/iousbhostdevice we can see that the framework IOUSBHost is available from version macOS 10.15 and above.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With