To add Kotlin support to a newly created or an existing project, open the find action dialog using Command + Shift + A on Mac or Ctrl + Shift + A on Windows/Linux, and invoke the Configure Kotlin in Project action.Īlternatively, you can create a Java class and convert it to Kotlin using the action mentioned above. To learn how to create a new Android project, check the official step by step guide. Add Kotlin support to an existing Android project.Create a new Android project and setup Kotlin in the project.After successfully doing so, new actions will be available for converting your Java to Kotlin. The first step is to install Kotlin plugin. Since Kotlin is developed by JetBrains, it is well-supported in both Android Studio and IntelliJ.
0 Comments
Leave a Reply. |