Kotlin not working on Android Studio

后端 未结 1 1983
抹茶落季
抹茶落季 2021-01-23 21:44
  1. All kotlin files can\'t be displayed on my Android Studio. Even when you directly convert java files into koltin, you can edit it, but it doesn\'t appear on the project

1条回答
  •  半阙折子戏
    2021-01-23 22:08

    Please make sure that the .kt extension is associated with the Kotlin files in Settings | Editor | File Types.

    Also note that the reason why "Kotlin Extensions for Android (obsolete)" has the "obsolete" word in its name is specifically to let you know that you should not install that plugin.

    0 讨论(0)
提交回复
热议问题