google / android-emulator-m1-preview

Apache License 2.0
1.83k stars 161 forks source link

My m1 air can't start the app #86

Open 2270057439 opened 2 years ago

2270057439 commented 2 years ago

Because some settings were changed in the settings interface (not in the configuration file), The program icon keeps bouncing, but the startup cannot be completed, the CPU usage soared to 100%. After trying to reinstall the app, it is still the same. It is suspected that the app retains the residual settings, but neither the cleaning software nor I can find these residual settings.

A qemu-system-aarch64 process accounts for 100% of mine, but it did not start successfully at this time. And my Android Studio's Android virtual machine cannot be used, which is consistent with this

I need help

2270057439 commented 2 years ago

The log after executing emulator -feature HVF -avd Pixel_2_API_30 is:

emulator: Android emulator version 30.3.5.0 (build_id 7036990) (CL:N/A)
emulator: INFO: ignore sdcard for arm at api level >= 30
handleCpuAcceleration: feature check for hvf
cannot add library /Applications/Android Emulator.app/Contents/MacOS/emulator/qemu/darwin-aarch64/lib64/vulkan/libvulkan.dylib: failed
cannot add library /Applications/Android Emulator.app/Contents/MacOS/emulator/lib64/vulkan/libvulkan.dylib: failed
EglOsGlLibrary: Could not open GL library libGLESv2.dylib [dlopen(libGLESv2.dylib, 0x0002): tried: '/Applications/Android Emulator.app/Contents/MacOS/emulator/lib64/qt/lib/libGLESv2.dylib' (no such file), '/Applications/Android Emulator.app/Contents/MacOS/emulator/lib64/gles_swiftshader/libGLESv2.dylib' (code sig]
EglOsEglDispatcher: Could not open EGL library libEGL.dylib [dlopen(libEGL.dylib, 0x0002): tried: '/Applications/Android Emulator.app/Contents/MacOS/emulator/lib64/qt/lib/libEGL.dylib' (no such file), '/Applications/Android Emulator.app/Contents/MacOS/emulator/lib64/gles_swiftshader/libEGL.dylib' (code signature in]
2270057439 commented 2 years ago

End of this problem => solved