I updated Android Studio to version 3.0.1, but since then I can't see the layout of my application anymore. I can run my app, so the xml file is OK.I tried adding a new Virtual Device and updating my SDK, but I still can't see my layout. Has anyone faced this issue? Can I do anything to solve it out? Thanks.
答案 0 :(得分:0)
尝试清理并重建项目。为我工作
答案 1 :(得分:0)
。 现在变为任何 api 级别为null
参考: Preview not Showing in Android 3.0 和
Android Studio 3.0 xml-layout file's preview not showing issue
答案 2 :(得分:0)
我点击了“带有Gradle文件的Sinc项目”按钮解决了这个问题。现在我可以看到我的布局。感谢那些试图帮助我的人。
答案 3 :(得分:0)