Techbide.com

How to

SOLVED :No idea annotations attached to the jdk 1.8

No idea annotations attached to the jdk 1.8
Written by Olivar

Are you worried about this problem: “No idea annotations attached to the JDK 1.8 some issues will not be found” while doing your project on the Android Studio? Well, We know this is very frustrating especially when you are mentally ready for your job and there are some interruptions in between.

There is no software that does not have a bug or error but the good thing is that there is a solution to every problem. You will find hundreds of solutions to problems on the Internet, But they are not easy to understand, But you don’t have to worry Because in this article you will be told a simple and effective solution.

Reason Behind the Error:

” No IDEA annotations attached to the JDK 1.8, some issues will not be found ” Appears when there is a problem with the configuration, which results in either not working normally or failing to compile.
I won’t take any more of your time so let me show you the 3 best solutions to solve your problem.

How to Fix the error: “No idea annotations attached to the JDK 1.8 some issues will not be found”

There are many solutions to this problem but let me show you the easiest and fastest way you can solve this problem easily.

Solution 1: Invalidate Caches/Restart

when the above situation occurs the majority of Android studio users take the following approach,

” invalidate caches/restart”.

No idea annotations attached to the JDK 1.8

If you follow this solution, you can concentrate on development for a while (about five build times), Because this solution is not working for a long time, As we told you the majority of Android studio users follow this method for immediate results, the method is useful but if you want a permanent solution, the following two solutions below are permanent.


Solution 2: Rename the Folders

First of all, Turn On AndroidStudio, and then open the main activity tab, the warning “No IDEA annotations attached to the JDK 1.8, some issues will not be found” is showing.

No idea annotations attached to the JDK 1.8

The problem of “Default Activity Not Found” at runtime, making the project inoperable. Most of the online solutions are reinstalling Android Studio, but it does not solve the problem actually, so research for a long time, we finally found a perfect solution for the error “No idea annotations attached to the JDK 1.8 some issues will not be found”.

No idea annotations attached to the jdk 1.8

 

Actually, This method renames the file folders, so Android Studio will not recognize it. This method is virtually identical to delete the file. So after changing launch options to Default activity, follow the given steps

  1. First, you need to close the Android studio
  2. Open C:\Users\UserName\.android and rename the build-cache folder to build-cache.bak
  3. Open C:\Users\UserName.AndroidStudio3.2\system Rename the files
  • caches —>caches.bak
  • compiler —> compiler.bak
  • compile-server —> compile-server.bak
  • conversion —> conversion.bak
  • external_build_system —> external_build_system.bak
  • frameworks —> frameworks.bak
  • Gradle —> Gradle.bak
  • resource_folder_cache —> resource_folder_cache.bak

No idea annotations attached to the JDK 1.8

setp4: Restart Android studio, such a wave of operations may be fine if you can not try to invalidate caches.

step5: After the success, delete the .bak file. If you have space in hard disk space, just put it in that. That’s it, you have solved “No IDEA annotations attached to the JDK 1.8,”.


Solution 3: Deleting specific Folders

If you tried to Invalidate Caches and Restart. But it doesn’t work. No need to worry about,

Just open the folder C:\Users\{username}

There you will find three folders: one for the real version -.AndroidStudio3.2 and two for older versions.AndroidStudio3.1 and.AndroidStudio2.3.

No idea annotations attached to the jdk 1.8

You can only delete the folder with the actual version but you have to delete all the folders. (If you have no important user settings in AndroidStudio).

Then you restart AndroidStudio, and choose “Do not import settings”. Like this:

No idea annotations attached to the jdk 1.8

This method will absolutely eliminate your problem completely and you can enjoy a normal development life.

Wrapping up :

Above we discussed three best solutions against the error code: No idea annotations attached to the JDK 1.8 some issues will not be found. And if you have any further questions, please let us know in the comment section, and also share the experience about how you tackled the above error.

About the author

Olivar

Leave a Comment