In Android Studio 3.1.2 I am suddenly getting the following message in a yellow tape frame at the top of my editor:
No IDEA annotations attached to the JDK 1.8 (C:\Program Files\Android\Android Studio\jre), some issues will not be found
I also have a warning in Edit Configurations:
Default Activity not found
How can I solve these issues?
Solution
C:\Users\UserName\.android
and rename the build-cache
folder to build-cache.bak
Go to C:\Users\UserName\.AndroidStudio3.2\system
and rename these folders
caches
to caches.bak
compile-server
to compile-server.bak
compiler
to compiler.bak
conversion
to conversion.bak
external_build_system
to external_build_system.bak
frameworks
to frameworks.bak
gradle
to gradle.bak
resource_folder_cache
to resource_folder_cache.bak
Open the Android Studio and open your project again.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With