Android Studio - Kotlin auto-completion is not working

Viewed 3651

Kotlin auto-completion does not work in Android Studio. Java and XML auto-completion are working but Kotlin isn't working.

Kotlin not working example:

Kotlin not working example

XML working example:

xml working example

Java working example: Java working example

2 Answers

Sometimes happens to me, my solution is this go to File/Sync project with gradle files

enter image description here

I have uninstalled Android Studio with user settings. Then I have deleted C:/Users/<pcname>/.AndroidStudio and I have reinstall Android Studio.

It solves the problem.

Related