Kikoneta
Kikoneta

Reputation: 40

Code completion XML not working on Android Studio

I was working on an android project for homework, and suddenly, while I was designing a layout, I realized that the code completion wasn't working, and I don't know why. Here I post some photos:

XML not completing

However, when I try to code some Java, the completion is working.

Java does complete code

I don't know how to revert that, I tried to Invalidate Cache, turning off power saving mode, and nothing works.

Upvotes: 0

Views: 84

Answers (2)

Wojuola Ayotola
Wojuola Ayotola

Reputation: 608

Change your gradle version from the one you are using presently. Then close and open project again.

Upvotes: 1

Hashem Alhariry
Hashem Alhariry

Reputation: 164

Try restarting studio and Sync Project with Gradle files

Upvotes: 1

Related Questions