简体   繁体   English

Xamarin Android Designer显示空白页

[英]Xamarin Android Designer showing blank page

Recently I decided to try using Xamarin for developing simple Android applications. 最近,我决定尝试使用Xamarin开发简单的Android应用程序。

However, I encountered a problem that the Android Designer for layouts either does not work (in latest stable VS 2017) or shows just a blank page (in latest VS 2017 Preview). 但是,我遇到一个问题,即布局的Android设计器不起作用(在最新的稳定版VS 2017中)或仅显示空白页面(在最新的VS 2017 Preview中)。

Are there any additional steps to set it up or how can I fix this? 是否有其他步骤来设置它或如何解决?

As it happens, Xamarin Designer will not work properly (like the behavior described in my question) if you do not have the correct folder structure. 碰巧的是,如果您没有正确的文件夹结构,Xamarin Designer将无法正常工作(如我的问题中描述的行为)。 Ie the layout documents must be in the Resources/layout folder, otherwise the Designer will fail. 也就是说,布局文档必须位于Resources / layout文件夹中,否则设计器将失败。

I already reported this to VS Community and they said that they will have a look at this issue. 我已经将此事报告给VS社区,他们说他们将研究这个问题。 Hope they will fix it soon. 希望他们会尽快解决。

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

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