Anybody else having issues with IntelliJ Ultimate and the android emulator on a M1 Mac? I use a arm based emulator image, but qemu uses 100% CPU and hangs
hfhbd
01/19/2022, 10:15 PM
IntelliJ IDEA 2021.3.2 Preview (Ultimate Edition)
Build #IU-213.6777.11, built on January 13, 2022
Runtime version: 11.0.13+7-b1751.24 aarch64
macOS 12.1
Kotlin: 213-1.6.10-release-944-IJ6461.79
Android: 2020.3.1 Final.213.6777.11
hfhbd
01/19/2022, 10:26 PM
Copy code
android.emulation.control.EmulatorController/getVmState call failed - UNAVAILABLE: io exception
2022-01-19 23:23:53,575 [ 224504] INFO - manager.EmulatorProcessHandler - Emulator: /Users/philipwedemann/Library/Android/sdk/emulator/emulator -netdelay none -netspeed full -avd Pixel_4_API_30 -qt-hide-window -grpc-use-token -idle-grpc-timeout 300
2022-01-19 23:23:54,149 [ 225078] INFO - manager.EmulatorProcessHandler - Emulator: WARNING | unexpected system image feature string, emulator might not function correctly, please try updating the emulator.
2022-01-19 23:23:54,514 [ 225443] INFO - manager.EmulatorProcessHandler - Emulator: WARNING | cannot add library /Users/philipwedemann/Library/Android/sdk/emulator/qemu/darwin-aarch64/lib64/vulkan/libvulkan.dylib: failed
p
Paul Woitaschek
01/19/2022, 10:36 PM
Are you sure you use an arm emulator image?
➕ 1
h
hfhbd
01/19/2022, 10:46 PM
According to the description, the path and the process, it should be an arm image... 😄
hfhbd
01/20/2022, 8:33 AM
Okay, there is definitely a bug: Starting the same avd from Android studio in adv manager works, when starting it from IntelliJ avd manager it crashes.