macos – Android Studio上的“PSI和索引不匹配” – Mac

macos – Android Studio上的“PSI和索引不匹配” – Mac,第1张

概述当我打开 Android Studio时,会显示一条错误消息: PSI and index do not match: PSI and index do not match 我可以成功构建我的项目,但在构建错误消息后将再次显示. 当我打开一个项目时,会显示: 8:08:43 下午 Throwable Invalid stub element type in index: 当我打开 Android Studio时,会显示一条错误消息:

PSI and index do not match: PSI and index do not match

我可以成功构建我的项目,但在构建错误消息后将再次显示.

当我打开一个项目时,会显示:

8:08:43 下午 Throwable       InvalID stub element type in index:       file: file:///Users/Genius/AndroIDSDK/sources/androID-21/androID/filterfw/geometry/Rectangle.java       psIElement: PsiTypeParameterList       requiredClass: interface com.intellij.psi.PsiClass       actualClass: class com.intellij.psi.impl.source.tree.java.PsiTypeParameterListImpl       virtualfile: size:3091; stamp:10778; modCount:1422357544000; fileType:JAVA; language:JAVA       psifile: size:3091; stamp:10778; class:com.intellij.psi.impl.source.PsiJavafileImpl; language:JAVA       stubInfo: created from index; with backReference       indexing info: indexed at 1422357544000 with size 3091

我能做什么?
我的系统是OS X 10.10.1

解决方法 我相信对此的正确答案是使用文件菜单下的“无效缓存/重新启动”选项.该错误消息指向通过此菜单命令重建的其中一个缓存中的损坏. 总结

以上是内存溢出为你收集整理的macos – Android Studio上的“PSI和索引不匹配” – Mac全部内容,希望文章能够帮你解决macos – Android Studio上的“PSI和索引不匹配” – Mac所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://www.54852.com/web/1123218.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-30
下一篇2022-05-30

发表评论

登录后才能评论

评论列表(0条)

    保存