简体   繁体   English

IntelliJ IDEA编辑器无法打开我的XML布局文件

[英]IntelliJ IDEA editor does not open my XML layout files

I tried finding a similar topic, but could not find one. 我尝试找到类似的主题,但找不到。

IntelliJ IDEA crashed (along with my PC) and when I got it back and running, I saw that I can not preview any XML files. IntelliJ IDEA(与我的PC一起)崩溃了,当我重新启动它并运行它时,我看到无法预览任何XML文件。 I could before the crash, of course. 我当然可以在坠机前。

All I get is what you can see in the screenshot : I can not even chose target API, none of the options do anything, and I tried stretching the view, but nothing happens. 我所得到的就是您在屏幕快照中看到的内容:我什至无法选择目标API,所有选项都不做任何事情,并且我尝试了扩展视图,但是没有任何反应。

Here's the screenshot : 这是屏幕截图:

http://tinypic.com/r/10ct1g3/9 http://tinypic.com/r/10ct1g3/9

The error I got was : 我得到的错误是:

Exception in plugin Android Support. 插件Android支持中的异常。 5 minutes ago. 5分钟前。 Occured once since the last clear. 自上次清除以来已发生一次。 Unread. 未读。

Error message : null 错误消息:空

I really don't have a clue what to do. 我真的不知道该怎么办。

If you have this issue than normally it already helps if you click Build -> Clean Project and then Build -> Rebuild Project. 如果您比平常有此问题,请单击“构建”->“清理项目”,然后单击“构建”->“重建项目”,这已经很有帮助。

After that it should work. 在那之后它应该工作。 If during that process an error message pops up then that is the reason why the preview doesn't work. 如果在此过程中弹出错误消息,则是预览无法正常工作的原因。

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

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