If you install the AVD with Google Play Store, you cannot modify the GPU from Automatic or Hardware to any other value. It appears greyed in the AVD settings.
Some of us do not have graphics cards on our systems and therefore, this setting has to be changed in order to enable Android Studio AVDs to boot properly. Else, we can the Vulkan graphics error in the event log.
To remove the GPU, do the following action after opening a terminal window in Linux, where Device10.avd is the Android 10 AVD created:
$ vi ~/.android/avd/Device10.avd/config.ini
<enter>
Change the values in red for the below parameters in the file to those in blue as below.
hw.gpu.enabled=yes
hw.gpu.mode=auto
hw.gpu.enabled=no
hw.gpu.mode=off
Save the file and restart Android Studio. The AVD will not hang if there is no graphics card in the system.
This is about your other post “How to use India income tax Java utilities on Linux”. I sadly had no way of leaving a comment on that post, so I’m resorting to contacting you this way. I apologise.
I found the article very useful. Sadly it didn’t work for me. I’m running Linux Mint 20 with default settings. Would you please contact me over email so I could detail you the problems I am facing? It will be a huge help.
Thanks
LikeLike
Thanks for flagging off the issue. It does not work on Linux Mint 20 or Ubuntu 20.04 LTS. Refer the revised post for asolution that worked on my Ubuntu 20.04 LTS system. https://askmeaboutlinux.com/2020/07/30/how-to-run-india-income-tax-java-utilities-on-linux-mint-20-or-ubuntu-20-04-lts/.
LikeLike