R Harrington
R Harrington

Reputation: 253

Android Emulator flickering

I've set up a Nexus 5X in Android Studio running Android Q:

enter image description here

When I launch it, there is always a huge flicker (see https://streamable.com/wdpf0).

I'm running on Arch Linux on an Intel Core i7-6500U. How can I fix this?

Upvotes: 10

Views: 4054

Answers (2)

Neeraj Singh
Neeraj Singh

Reputation: 668

I have fixed it by changing one parameter in the emulator's config file.

Go to C:\Users\USER_NAME\.android\avd\YourEmulator.avd}}

Edit the config.ini file.

Find the hw.gpu.mode = auto and change it to the hw.gpu.mode = guest and save the changes.

Restart the emulator.

Also, increase your Emulator RAM Size.

Upvotes: 0

  1. In windows go to:
    C:\Users\'your username'\.android\avd\"Device Name".avd
  2. Open config.ini in text editor.
  3. change below lines as shown.

hw.gpu.enabled = no
hw.gpu.mode = off

If the problem persist or emulator crash, detach emulator from Tool Window.

  1. File -> Settings -> Tools -> Emulator UnTick 'Launch in a ToolWindow'

Upvotes: 11

Related Questions