When creating the new AVD or starting the one created before I receive the error "The emulator process for AVD [NAME] has terminated." (Under [NAME] it mentions my device name)
The problem first appears on Android Studio 2022.1 and still present with Android Studio Koala | 2024.1.1
C:UsersUserAppDataLocalGoogleAndroidStudio2024.1logidea.log:
2024-07-02 14:55:12,039 [ 300505] INFO - Emulator: Pixel 7a API 35 - C:UsersUserAppDataLocalAndroidSdkemulatoremulator.exe -netdelay none -netspeed full -avd Pixel_7a_API_35 -qt-hide-window -grpc-use-token -idle-grpc-timeout 300
2024-07-02 14:55:12,076 [ 300542] INFO - Emulator: Pixel 7a API 35 - Storing crashdata in: C:UsersUserAppDataLocalTemp\AndroidEmulatoremu-crash-34.2.15.db, detection is enabled for process: 9572
2024-07-02 14:55:12,076 [ 300542] INFO - Emulator: Pixel 7a API 35 - Android emulator version 34.2.15.0 (build_id 11906825) (CL:N/A)
2024-07-02 14:55:12,076 [ 300542] INFO - Emulator: Pixel 7a API 35 - Found systemPath C:UsersUserAppDataLocalAndroidSdksystem-imagesandroid-35google_apis_playstorex86_64
2024-07-02 14:55:13,181 [ 301647] INFO - Emulator: Pixel 7a API 35 - Ignore IPv6 address: a00e:c0da:5902:0:b0e6:bfda:5902:0 (2x)
2024-07-02 14:55:13,181 [ 301647] WARN - Emulator: Pixel 7a API 35 - Failed to process .ini file C:UsersUser.androidavd..avdPixel_7a_API_35.avdquickbootChoice.ini for reading.
2024-07-02 14:55:14,184 [ 302650] INFO - Emulator: Pixel 7a API 35 - added library vulkan-1.dll
2024-07-02 14:55:17,377 [ 305843] INFO - Emulator: Pixel 7a API 35 - Process finished with exit code -1073740791 (0xC0000409)
2024-07-02 14:55:17,377 [ 305843] WARN - Emulator: Pixel 7a API 35 - Emulator terminated with exit code -1073740791
As for
Failed to process .ini file C:UsersUser.androidavd..avdPixel_7a_API_35.avdquickbootChoice.ini for reading.
I do not have "quickbootChoice.ini" file there.
I have tried:
- Disabled the Windows Defender
- I have enabled Hyper-V -> did not help
- I have removed all the Android system variables except for PATH -> did not help
C:UsersUserappdatalocalAndroidSdkbuild-tools C:UsersUserappdatalocalAndroidSdkcmdline-tools C:UsersUserappdatalocalAndroidSdkplatform-tools
2
Answers
Had exactly same problem after complete new installation of studio64x 2024.1.1 including emulator and avd on Windows Home 11 on a HP 17-cp0157ng notebook.
Found an answer which helped me in Emulator: Process finished with exit code -1073741819 (0xC0000005):
Edit [AVD-PATH][AVD-NAME]config.ini and set
hw.gpu.mode=off (original value was auto)
This also solved a problem I had since months:
Emulator start was possible only with disconnected docking station.
i found that answer is using software instead:
enter image description here
But it take too long to render and i don’t know how to run avd with hardware graphic. It take me several day to find the answer T.T