The screen flickers and freezes when Android Studio comes with the emulator running

        When we run the emulator that comes with Android Studio. The screen may keep flickering (as shown below), which is extremely harmful to our eyes (barely bearable, but as an obsessive-compulsive disorder, it cannot be tolerated!!!)

bacfe3baf44c4b479a918ab3202a373e.png

Although it can be solved, I still don’t know why, it’s a bit mysterious!

At this time, we only need to set up the simulator and click this little pencil24c4efba328347c98447bd840631a9a5.png

c38de5c84bd74fafa95f53607f1a1659.png

Then the following interface appears:

981aa9f459c74a9da2f88a47633e48de.png

Change "Automatic" in Graphics to "Software - GLES 2.0", then restart the simulator to solve the screen flickering problem!

but! ! ! !

Some people will find that the Graphics of their simulator cannot be changed. Why?

This is because Google Play Images running on devices such as Pixel or Nexus 5(x) can only accept automatic graphics acceleration. To put it simply, when we create a simulator, as long as the selected simulator has the ee6b49f090a8442494926b9a58bee950.png flag, the Graphics cannot be changed, so there may be a screen flicker that cannot be solved.

53ea8336f203454fb4c6a380ddf8c91d.png

Then you can only change the simulator!

Done! Respect!

 

Guess you like

Origin blog.csdn.net/Walch123/article/details/133936693