I've been playing around with settings of OpenGL renderer in AVD.
Once I finished, closed the editor and tried to launch the virtual device, the following error with code 1073741819
was thrown.
ERROR: Invalid GPU mode 'angle9', use one of: host swiftshader_indirect. If you're already using one of those modes, the emulator installation may be corrupt. Please re-install the emulator.
However, there is no possibility switching the settings back. Manualy editing config files of the virtual device wont help anyway. Neither reinstalling or deleting Android Studio at all.
android\avd . However, if the AVD name ( <name> ) has unicode, the emulator cannot launch the AVD properly using this default location. To solve this issue, update the emulator (Tools > SDK Manager); this issue is fixed in Emulator 31.3. 6 and higher.
SDK Build Tools are not installed You look at the build tab at the bottom of the screen, it will display the error message and option to install the Build tools. Install it and you should be able to see the AVD Manager. Another way is to go to the SDK Manager. Under SDK Tools you will find the Android SDK Build tools.
The only solution came from following steps:
Hit the SDK tools icon in order to get the exact location
> cd C:\Users\jakub.meinlschmidt\AppData\Local\Android\Sdk\emulator
> emulator -list-avds
Nexus_S_API_29
> emulator -avd Nexus_S_API_29 -gpu host
If your virtual device is not appearing the list, try to reboot your computer (worked for me).
Once you successfully launch your virtual device, navigate to the OpenGL settings (as shown in the first picture) and switch to a different option.
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