Android Studio – XML Properties don't come up in code suggestion


Whenever I try to type the properties (e.g. android:width or android:height etc.) for a View or any other component in XML in Android Studio the code completion/suggestion dialog box does not show, Whereas if I try to type the main parent component (like <Button> or <TextView> etc.) it pops up with the code suggestion box.

I’ve tried:

  • Invalidating Cache.
  • Turning off Power Saving mode.

and none of them worked. So please, Help me.

>Solution :

If you use compileSdkVersion 33, upgrade your Android Studio to Dolphin.

It worked for me.

Leave a ReplyCancel reply