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.
2
Answers
Solution
The problem was that I was using CompileSdk33 which is not supported by Android Studio Chipmunk. So to fix this problem update your android studio to Android Studio - Electric Eel or Android Studio - Dolphin
If you use compileSdkVersion 33, upgrade your Android Studio to Dolphin.
It worked for me.