AndroidStudio新建java文件点击ok没有没有反应,会报出如下错误

Could not initialize class com.intellij.psi.jsp.JspElementType

http://www.jb51.net/softjc/408173.html

ntellij编译时,报错,信息如下:
Internal error: com.intellij.psi.tree.IFileElementType cannot be cast to com.intellij.psi.tree.IStubFileElementType

解决办法:File-->Invalidate caches。

http://www.itkeyword.com/doc/2731672729117875x247/android-studio-rendering-problems-indexnotreadyexception

需要重新编译下,退出再进来

退出重新编译一下,或者重新安装软件再试试!

clean project下再重新编译下

clean --> rebuild 一下 看行不行 还不行就退出重进吧