Can’t create new Kotlin project after updating to Android Studio 4.2

The error is clear Gradle was unable to find the library that you declared Possible fixes Location Project -> build.gradle //update it dependencies { classpath “org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.30” } Edited kotlin has released stable version of version 1.5.0 last night you can use this version to stay up-to-date dependencies { classpath “org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0” }

Gradle tasks are not showing in the gradle tool window in Android Studio 4.2

OK, I found why I got this behaviour in android studio 4.2. It is intended behaviour. I found the answer in this post: https://issuetracker.google.com/issues/185420705. Gradle task list is large and slow to populate in Android projects. This feature by default is disabled for performance reasons. You can re-enable it in: Settings | Experimental | Do … Read more