问题
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.
My Visual Studio's Screen: Desirable
Xamarin tutorial's Screen: Available
Thanks in advance :)
回答1:
I had the same problem, and I found a good solution :
Try going to Tools -> Options and under Xamarin-> Android UI Designer, uncheck the option "Enable accelerated rendering".
Just close every xaml which are opened, and reopen there ! enjoy ! (I hope)
回答2:
First and foremost make sure that you have the latest JDK version installed. I had the same issue with the designer and fixed it by upgrading to JDK 1.8.0.161.
回答3:
I had the same problem when I created a new layout. What worked for me was to close and reopen Visual Studio.
来源:https://stackoverflow.com/questions/48308701/xamarin-android-designer-shows-a-black-screen-instead-of-the-application-interfa