Reputation: 19270
After updating android studio 3.3 canary 7 convert java file to kotlin file is showing disable
.
Android Studio Menu -> Code -> Convert Java File to Kotlin File
Its showing disable. Why it is disable and how can i enable it android studio latest version.
Upvotes: 5
Views: 3539
Reputation: 1254
Open your File and press
Ctrl + Alt + Shift + K
Converting Java Code to Kotlin Code :
Upvotes: 6
Reputation: 2559
This is a bug in the Kotlin plugin: https://youtrack.jetbrains.com/issue/KT-26298 . Please update your IDE plugin version to 1.2.61, the problem is fixed there.
Upvotes: 1
Reputation: 795
Go to Tools -> Kotlin -> Configure Kotlin in Project to set up again.
Upvotes: 1