关掉AndroidStudio,再打开时出现“No IDEA annotations attached to the JDK 1.8, some issues will not be found”的警告
关闭Android Studio删除以下目录重启即可:
- “C:\Users\UserName.android”目录,删除“build-cache”
- “C:\Users\UserName.AndroidStudio3.2\system”目录,删除以下目录
“caches”
“compiler”
“compile-server”
“conversion”
“external_build_system”
“frameworks”
“gradle”
“resource_folder_cache”
参考原文:https://stackoverflow.com/questions/50740240/no-idea-annotations-attached-to-the-jdk-1-8-c-some-issues-will-not-be-fo