Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kotlin Not Configured : Android studio

Tags:

android

kotlin

Error which i am getting

I am able to run the project successfully. but unable to resolve this issue which is showing "kotlin Not Configured". I tried every solution for that but its always showing in the currently active file.

Please help.

like image 882
Prashant Jajal Avatar asked Jun 20 '20 07:06

Prashant Jajal


People also ask

Is Kotlin installed with Android studio?

Android Studio provides full support for Kotlin, enabling you to add Kotlin files to your existing project and convert Java language code to Kotlin. You can then use all of Android Studio's existing tools with your Kotlin code, including autocomplete, lint checking, refactoring, debugging, and more.

Is kapt deprecated?

app: Original kapt is deprecated.

What is Kotlin plugin?

Kotlin releases contain language, compiler, and standard library features. Kotlin plugin releases introduce only IDE related features. For example, code formatting and debugging tools.


Video Answer


2 Answers

Delete the .gradle and .idea file and restart the project. This seem to work for me.

like image 127
bhaskar Avatar answered Oct 07 '22 20:10

bhaskar


Click on Tools -> Kotlin -> Configure Kotlin in Project then choose the configurator, any one from:

  1. Java with Gradle
  2. Android with Gradle
like image 26
Sumit Patel Avatar answered Oct 07 '22 21:10

Sumit Patel