Auto-completion doesn't work in android studio with XML files. With Java it's okay. I tried many solutions (disable power save mode, invalidate cache...).
What can I do to turn AC on?
Auto-completion doesn't work in android studio with XML files. With Java it's okay. I tried many solutions (disable power save mode, invalidate cache...).
What can I do to turn AC on?
Go File > Invalidate Caches / Restart... > Click at Invalidate and Restart
Try this reported issue source: https://code.google.com/p/android/issues/detail?id=61844#c4
I hope this helps.
this is work for me.
I tried deleting the caches, restarting, and setting things but none of them worked.
I fixed this problem by down the target/compile SDK version from 33 to 30.
build.gradle > down the targetSdkVersion (33 to 30 in my case) as well as the compileSdkVersion
this solution works for me even though I have SDK library for API 31,32, and 33