When I opened AndroidStudio today and built the project, I reported the problem No IDEA annotations attached to the JDK 1.8. Please record it and encourage everyone!
Solution on stackoverflow :
1. Close AndroidStudio;
2. Enter the files in the system disk:C:\Users\UserName\.android Back up the build-cache folder and delete it (If you are brave, you can delete it directly), or rename it;
3. Enter the files in the system disk:C:\Users\UserName\.AndroidStudio3.4\system Back up the following folders Then delete or rename:
4. Open AndroidStudio, compile the project, and all the above files will be generated again, which is a perfect solution;
5. Delete the backup, or rename the folder.
stackoverflow 问题地址:https://stackoverflow.com/questions/50740240/no-idea-annotations-attached-to-the-jdk-1-8-c-some-issues-will-not-be-fo