3

I created an Android project with the newest Android Studio version (v2 Preview 5) and converted it into a kotlin project. Now gradle is not able to sync and build the project, see the screenshot: enter image description here

I didn't do anything to any build file and I also deleted my entire gradle cache as well as restarting, killing daemons etc. I used the newest kotlin version 1.0.0-beta-4584

As the error message suggest I guess the reason is the kotlin plugin, so does anyone know how to solve this problem?

1 Answer 1

8

The kotlin gradle plugin is not compatible with the latest alpha plugin of android (2.0.0-alpha6) or alpha5 for that matter.

Until this is the case, you can use 2.0.0-alpha3 instead.

Sign up to request clarification or add additional context in comments.

1 Comment

You can now upgrade to kotlin version 1.0.0-beta-4589 which works with 2.0.0-alpha5 and 2.0.0-alpha6

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.