- AS报错 No IDEA annotations attache
- Android Studio 3.2.1升级报错No IDEA
- flutter 报错:The provided ScrollCo
- No IDEA annotations attached to
- No IDEA annotations attached to
- Intellij IDEA Annotations are no
- No IDEA annotations attached to
- No IDEA annotations attached to
- no idea annotations attached to
- No IDEA annotations attached to
欢迎加入Java/Android开发群交流学习,QQ群号:[202253703]
问题发生
今天关掉AndroidStudio,再打开时出现“No IDEA annotations attached to the JDK 1.8, some issues will not be found”的警告,出现这种情况是配置出现了问题,导致要么无法正常运行要么无法编译通过,例如,你的程序可能会像下面一样


解决方案
网上解决方法大多是重装AndroidStudio,觉得没有实际解决问题,查了查资料,解决方案如下:
1.关闭Android Studio
2.前往 “C:\Users\UserName\.android”目录,删除
“build-cache”
3.前往“C:\Users\UserName\.AndroidStudio3.2\system”目录,删除以下目录
“caches”
“compiler”
“compile-server”
“conversion”
“external_build_system”
“frameworks”
“gradle”
“resource_folder_cache”
4.再次打开AndroidStudio!搞定
如果该文章解决了您遇到的问题,请帮作者点个赞支持下,谢谢!
网友评论