1

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?

zx485
  • 28,498
  • 28
  • 50
  • 59

3 Answers3

2

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.

Kashif Faraz Shamsi
  • 513
  • 1
  • 7
  • 21
0

this is work for me.

  1. close android studio
  2. Go to path/.AndroidStudio3.5/system/ delete caches folder
  3. start Android Studio
mili2501
  • 452
  • 5
  • 9
0

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

kyPark
  • 1