How to change GPU mode for Android 10 Google Play API Pixel 3 AVD in Android Studio for Linux

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.


Save the file and restart Android Studio. The AVD will not hang if there is no graphics card in the system.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s