skip to Main Content

I installed Android studio and tried to run a virtual device, but screen turns out glitchy and nothing can be seen. All attempts to run the AVD in android studio, as well as VS Code, resulted in the same broken output.

AVD screen upon running

For context, Im on a laptop with an Intel Core i5-8250U and a Radeon 535 graphics card. No errors seem to be showing up so im confused as to what the problem is

I tried reinstalling android studio, and the AVD itself, but nothing seemed to work. It seems the problem is apparent for all AVDs in fact, as I tried creating more virtual devices in android studio and testing them out, and the screen was still broken for all of them.

2

Answers


  1. I can’t yet post comments but the screen shot looks like random RAM.
    In the emulator, extended controls, settings, there are some renderer options. I would try experimenting with those in this case.

    Login or Signup to reply.
  2. I’m facing the same problem. I notice that the emulator just stopped working and I started to investigate about this problem. And I found a workaround! On my computer, I have an Intel Iris GPU and an AMD Radeon GPU. The Windows always use the AMD Radeon 535 to run the Android emulator, but lately it started to break the emulator as you show above. But I found a way to say to the system to use the Intel Iris instead.

    The first thing you need to do is to find your emulator on File Explorer and it depends on which IDE you use.

    • Android Studio: C:Users{user}AppDataLocalAndroidSdkemulatorqemuwindows-x86_64qemu-system-x86_64
    • Visual Studio: C:Program Files (x86)Androidandroid-sdkemulatorqemuwindows-x86_64qemu-system-x86_64

    Note the paths above are just samples. You need to find the emulator on your computer.

    Now open the Settings/System/Screen:
    enter image description here

    Then click on "Graphic Elements":
    enter image description here

    On "Add App" let the "Desktop" option and search your emulator. Then choose the "Safe Energy" option that selects the Intel GPU.
    enter image description here

    Now try to run your emulator. It works for me.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search