Xamarin Android Designer显示黑屏,而不是应用程序界面 [英] Xamarin Android Designer shows a black screen instead of the application interface

查看:369
本文介绍了Xamarin Android Designer显示黑屏,而不是应用程序界面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天,我开始使用Visual Studio 2017的Xamarin平台学习Android应用程序开发的世界.我打开Xamarin的官方教程和视频后,在YouTube上打开了我的第一个项目并转到设计师时,设计师的屏幕是全黑.在我阅读的任何指南或文章中都不会发生这种情况.由于我是新手,所以我不太清楚问题可能出在哪里,所以我要附上适当的图片.

Today I started to learn the world of application development for Android using the Xamarin platform for visual studio 2017. I followed Xamarin's official tutorials and videos on YouTube, when I opened my first project and went to the designer,the designer's screen was fully black. This doesn't happen in any guide or article I have read. Since I'm new, I don't have much idea where the problem might be, I'm attaching appropriate pictures.

我的Visual Studio屏幕:理想

My Visual Studio's Screen: Desirable

Xamarin教程的屏幕:可用

Xamarin tutorial's Screen: Available

先谢谢您了:)

推荐答案

我遇到了同样的问题,并且找到了一个很好的解决方案:

I had the same problem, and I found a good solution :

尝试转到工具->选项,然后在Xamarin-> Android UI设计器下,取消选中启用加速渲染"选项.

Try going to Tools -> Options and under Xamarin-> Android UI Designer, uncheck the option "Enable accelerated rendering".

只需关闭每个打开的xaml,然后在此处重新打开!请享用 ! (我希望)

Just close every xaml which are opened, and reopen there ! enjoy ! (I hope)

这篇关于Xamarin Android Designer显示黑屏,而不是应用程序界面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆