No IDEA annotations attached to the JDK 1.8 (C:\...), some issues will not be found
Solution 1:
Solution
- Close Android Studio
- Go to
C:\Users\UserName\.android
and rename thebuild-cache
folder tobuild-cache.bak
-
Go to
C:\Users\UserName\.AndroidStudio3.2\system
and rename these folderscaches
tocaches.bak
compile-server
tocompile-server.bak
compiler
tocompiler.bak
conversion
toconversion.bak
external_build_system
toexternal_build_system.bak
frameworks
toframeworks.bak
gradle
togradle.bak
resource_folder_cache
toresource_folder_cache.bak
Open the Android Studio and open your project again.
Solution 2:
I have been working on 3.2.1 version since October 2018 (for 1 month).
But today I started my project in AndroidStudio with a many errors.
I tried to Invalidate Caches and Restart
. But it doesn’t helped me.
So, I opened the folder C:\Users\{username}
.
There I found three folders: one for the real version - .AndroidStudio3.2
and two for older versions - .AndroidStudio3.1
and .AndroidStudio2.3
.
I could only delete the folder with the actual version, but I deleted all the folders. (Because I have no important user settings in AndroidStudio).
Then I restarted AndroidStudio, and I chose “Do not import settings”. Like this:
This method worked for me.
Solution 3:
Go to File -> Invalidate Caches / Restart... -> Invalidate Caches and Restart