Question

Android Studio Avd emulator shows a black flickering

I have an issue all of a sudden where I am getting a weird black flickering at the bottom of the screen (as shown in the video below). I had no problem earlier also this happened after I removed android emulator and rechecked it (Reinstalled it ) under the setting “Tools” ->” SDK Manager” -> “SDK Tools” tab.

Video Link - https://vimeo.com/manage/videos/739329236

Computer Specs - I7 - 10750h, Nvidia 1650 Ti - 4GB, 16 GB Ram, 1 TB SSD (443 GB free)

Also, I have noticed the screen goes most of the part blank when I am not touching the screen. enter image description here

 46  29208  46
1 Jan 1970

Solution

 78

I had a same issue in my new laptop. I have fixed it by changing one parameter in the emulator's config file.

  • Go to C:\Users\USER_NAME\.android\avd\Pixel_5_API_31.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.
2023-02-12

Solution

 78

I had a same issue in my new laptop. I have fixed it by changing one parameter in the emulator's config file.

  • Go to C:\Users\USER_NAME\.android\avd\Pixel_5_API_31.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.
2023-02-12

Solution

 13

I tried giving more memory (4096 RAM) to my emulator and the issue disappeared.

More ram for android emulator

2022-11-22

Solution

 13

I tried giving more memory (4096 RAM) to my emulator and the issue disappeared.

More ram for android emulator

2022-11-22