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 file tree. Also the IDE suggests that it's a decompiled .class file.
I can't create Kotlin files. When I do, it shows a dialog that says
Cannot Create File / unable o parse template "Kotlin File" Error message: Cannot create class-file
My Android Studio Version 2.1.2
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.