简体   繁体   English

Android模拟器上的白色屏幕,但屏幕截图显示它正常工作

[英]White screen on Android Emulator, but screenshot shows it working

I'm trying to run a sample Xamarin app and I think my Android emulator is acting up. 我正在尝试运行一个示例Xamarin应用程序,我认为我的Android模拟器正在运行。 I've tried enabling Hyper-V, increasing the RAM, telling it to use the host GPU, launching the virtual device from the command line instead of the GUI, and double checking that I have the correct version of the build tools for the version of Android I'm attempting to run. 我已经尝试启用Hyper-V,增加RAM,告诉它使用主机GPU,从命令行而不是GUI启动虚拟设备,并仔细检查我是否有正确版本的版本构建工具Android我试图运行。

As a test I've just run the emulator by itself without an app and have discovered that it still shows a white screen even when it is apparently running, somehow. 作为一个测试,我只是在没有应用程序的情况下自行运行模拟器,并且发现它仍然显示白屏,即使它显然正在运行,不知何故。 The first image is what I get when I press the Screenshot button. 第一个图像是我按下屏幕截图按钮时得到的图像。 The second image is what I actually see on my desktop. 第二个图像是我在桌面上实际看到的图像。 It's been like this for over 10 minutes. 这已经超过10分钟了。

Any advice? 有什么建议? I've been Googling like crazy and can't seem to work this out. 我一直在疯狂搜索谷歌,似乎无法解决这个问题。

Android看似正常运行 Android模拟器没有显示任何内容

Have you tried simply changing the renderer? 您是否尝试过简单地更改渲染器?

Go on the sidebar menu, click the 3 dots>Settings>Advanced and try changing the OpenGL ES Renderer 转到侧栏菜单,单击3点>设置>高级,然后尝试更改OpenGL ES渲染器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM