일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- ViewModel
- retrofit
- mvvm
- statusbar
- constraintlayout
- 안드로이드
- Coroutine
- repositories
- Kotlin
- TabLayout
- Emulator fails to Launch
- systembar
- MVI
- GPT
- Mocky
- sdk33
- SharedPreference
- CoroutineScope
- github
- ViewPager2
- 피그마
- php
- LinearLayout
- Android
- Android13
- compose
- Backup Manager
- AndroidStudio
- ToyProject
- Swiftshader
Archives
- Today
- Total
Kwaang Tech
and change "OpenGL ES renderer (requires restart)"to "Swiftshader." // Emulator fails to Launch 본문
Dev/TroubleShooting
and change "OpenGL ES renderer (requires restart)"to "Swiftshader." // Emulator fails to Launch
콰앙 2023. 12. 8. 03:19
emulator: WARNING: encryption is off init: Could not find wglGetExtensionsString! getGLES2ExtensionString: Could not find GLES 2.x config! Failed to obtain GLES 2.x extensions string! Could not initialize emulated framebuffer emulator: WARNING: load_config.cpp:52: Could not parse verified boot config: emulator: WARNING: load_config.cpp:54: 1:1: Invalid control characters encountered in text. Failed to open /qemu.conf, err: 2 HAX is working and emulator runs in fast virt mode. emulator: WARNING: EmulatorService.cpp:448: Cannot find certfile: C:\Users\iante.android\emulator-grpc.cer security will be disa bled. Started GRPC server at 127.0.0.1:8554 emulator: ERROR: OpenGLES emulation failed to initialize. Please consider the following troubleshooting steps:
Make sure your GPU drivers are up to date.Erase and re-download the emulator ($ANDROID_SDK_ROOT/emulator).Try software rendering: Go to Extended Controls > Settings > Advanced tab and change "OpenGL ES renderer (requires restart)" t o "Swiftshader".
Or, run emulator from command line with "-gpu swiftshader_indirect". 4. Please file an issue to https://issuetracker.google.com/i ssues?q=componentid:192727 and provide your complete CPU/GPU info plus OS and display setup.
crashhandler_die: fatal: OpenGLES emulation failed to initialize. Please consider the following troubleshooting steps:
Make sure your GPU drivers are up to date.Erase and re-download the emulator ($ANDROID_SDK_ROOT/emulator).Try software rendering: Go to Extended Controls > Settings > Advanced tab and change "OpenGL ES renderer (requires restart)" t o "Swiftshader".
Or, run emulator from command line with "-gpu swiftshader_indirect". 4. Please file an issue to https://issuetracker.google.com/i ssues?q=componentid:192727 and provide your complete CPU/GPU info plus OS and display setup.
And this is what the event log reports:
1:30 PM Emulator: init: Could not find wglGetExtensionsString!
1:30 PM Emulator: getGLES2ExtensionString: Could not find GLES 2.x config!
1:30 PM Emulator: Failed to obtain GLES 2.x extensions string!
1:30 PM Emulator: Could not initialize emulated framebuffer
1:30 PM Emulator: emulator: WARNING: load_config.cpp:52: Could not parse verified boot config:
1:30 PM Emulator: emulator: WARNING: load_config.cpp:54: 1:1: Invalid control characters encountered in text.
1:30 PM Emulator: emulator: WARNING: EmulatorService.cpp:448: Cannot find certfile: C:\Users\iante.android\emulator-grpc.cer security will be disabled.
1:30 PM Emulator: Started GRPC server at 127.0.0.1:8554
1:30 PM Emulator: emulator: ERROR: OpenGLES emulation failed to initialize. Please consider the following troubleshooting steps:
1:30 PM Emulator: crashhandler_die: fatal: OpenGLES emulation failed to initialize. Please consider the following troubleshooting steps:
1:30 PM Emulator:
1:30 PM Emulator: 1. Make sure your GPU drivers are up to date.
1:30 PM Emulator:
1:30 PM Emulator: 2. Erase and re-download the emulator ($ANDROID_SDK_ROOT/emulator).
1:30 PM Emulator:
1:30 PM Emulator: 3. Try software rendering: Go to Extended Controls > Settings > Advanced tab and change "OpenGL ES renderer (requires restart)" to "Swiftshader".
1:30 PM Emulator:
1:30 PM Emulator: Or, run emulator from command line with "-gpu swiftshader_indirect". 4. Please file an issue to https://issuetracker.google.com/issues?q=componentid:192727 and provide your complete CPU/GPU info plus OS and display setup.
1:30 PM Emulator:
1:30 PM Emulator: Process finished with exit code -1073741819 (0xC0000005)
EDIT:
When I restarted my computer, I saw there was an update available for Android Studio, so I updated it accordingly. When I ran the main activity as I have done so previously with my preferred AVD selected the emulator failed to start. Then I attempted to run it through the terminal with both -gpu host and -gpu swiftshader_indirect commands and it still did not work.
SOLUTION TO MY ISSUE: 1. Restart computer. 2. Open Android Studio and run the emulator through the terminal using emulator -avd Pixel_2_API_29 -gpu host. 3. Now run the main activity.
It is beyond me why all of a sudden now this is the work around to run on the emulator when I have previously simply clicked run main activity with my preferred AVD and it would run without problems.
I hope this helps if anyone runs into this issue. I do not think this a complete solution, but I can live with this for the time being.
Extended Controls > Settings > Advanced tab and change "OpenGL ES renderer (requires restart)" to "Swiftshader".
반응형
'Dev > TroubleShooting' 카테고리의 다른 글
[Android/kotlin] 사진이 자꾸 회전 하는 현상 (0) | 2024.04.10 |
---|---|
[Android/kotlin] sharedPreference이 자꾸 살아나는 현상 (0) | 2024.04.04 |
[Kotlin] Compose system bar 설정 (0) | 2024.01.17 |
SDK location not found. (2) | 2023.08.30 |