[Fixed] Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0-release-764

When you create an empty activity Android project using Kotlin in Android Studio, you might get this error at the beginning during the build.

To fix this, we go to build.gradle file. It should be of project type. Remember, there are two files with the same name.

At the top, you see the following code.

Just delete the -release-764 and keep only 1.5.0.

Finally, click on Try Again. It will restart the build.

This time, the build will be successfull.

Thank you All!!! Hope you find this useful.

If you liked our content and it was helpful, you can buy us a coffee or a pizza. Thank you so much.

Leave a Reply

Up ↑

%d bloggers like this: