Android Emulator flickering
Asked Answered
A

2

10

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?

Apollo answered 21/3, 2020 at 16:32 Comment(0)
E
11
  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'
Eugenle answered 13/11, 2022 at 13:16 Comment(2)
Disabling the GPU in the config.ini file resolved the screen artifacts problem, but it negatively affects the emulator's performance.Steiermark
I only had to detach the emulator from Tool Window, and the flickering was gone!Lacedaemonian
V
0

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.

Vandenberg answered 16/9, 2024 at 11:1 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.