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


source to share


3 answers


I fixed it with File -> Invalidate Cache / Restart Android studio.



-7


source


You can try File -> Invalidate Cache/Restart

. This did it for me.



Hope this helps you.

+4


source


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

  1. 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


source







All Articles