Android studio emulator screen

I installed the latest version of Android studio, including the latest version of HAXM, ndk, sdk and any other related dependencies that it installs. Intel Virtualization bios setting thingy I can’t remember that the name is included and I have no problems in the virtual box, etc.

I created an empty activity and tried to test it on the phone, it works fine. Then I tried it on an emulator, and there is a problem when it is hardware accelerated. He just opens a white window. Android Studio displays 0 errors and believes that it launches the application correctly. On a graphics card I have gtx 1060 6gb. When this software accelerates, it works, but it is so slow that I would rather use a chisel on a stone to use the application.

So if someone knows that would be nice.

thank

+5
source share
5 answers

Well, I found that to solve the problem you need to go to the sidebar menu. Learn more OpenGL ES Renderer settings > and (in my case) set it to Angle (D3D11) or Angle (D3D9) or Swiftshader . After that, you just restart the emulator and the problem persists.

For me, Desktop native OpenGL and host-based Autodetect (which probably puts it first) don't work and leave you on a white screen.

+14
source

, - , , , Mac OS. (OP , )

  1. > AVD Manager
  2. Edit ( )
  3. " "
  4. -
  5. " "
+1

, Android - NVidia Web Mac OS. NVidia Web (378.05.05.25f04), - , Desktop Native ( , ).

Swift Shader, , !

Default OS OS X Nvidia Apple, Desktop Native .

0

The same problem can happen with lightning-fast Microsoft Android emulators using Hyper-V that run on PCs with Intel and AMD processors . The solution is on the same line as the accepted answer. For those who use Microsoft Android emulators and land here by searching for “white screen Android emulator”, here is a screenshot showing how to solve the problem by changing hw.gpu.mode from the default “auto” to “mesa”:

enter image description here

0
source

Source: https://habr.com/ru/post/1688773/


All Articles