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.
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
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.
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.
Note the paths above are just samples. You need to find the emulator on your computer.
Now open the Settings/System/Screen:
Then click on "Graphic Elements":
On "Add App" let the "Desktop" option and search your emulator. Then choose the "Safe Energy" option that selects the Intel GPU.
Now try to run your emulator. It works for me.