Suggestion not showing in xml layouts with ctrl + space in Android Studio
I ran into an issue with android studio that suggestions are not visible when pressing ctrl + space inside layout of .xml files. The editor always displays "No suggestions". Thank you in advance.
+3
Adarsh yadav
source
to share
3 answers
I fixed it with File -> Invalidate Cache / Restart Android studio.
-7
Adarsh yadav
source
to share
You can try File -> Invalidate Cache/Restart
. This did it for me.
Hope this helps you.
+4
Pratik butani
source
to share
You can also try this
1.Close Android Studio, then go to the folder where Android Studio is located. Or you can go to
C drive -> users -> find the .gradle file and follow these steps
- Find the .gradle file -> In the .gradle folder delete the caches folder then restart Android Studio sync your files with Gradle .... this work for me: D
+1
AR
source
to share