Kotlin Android Project failed to sync Gradle Project

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:

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?

Answers


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.


Need Your Help

WPF nested datagrids. Multiple levels

c# wpf datagrid

I'm trying to create table editor for multi-level table data using standard wpf datagrid.

Save iteration values from list to single object

django python-2.7 django-models django-forms django-views

I'm trying to store in one object many values from list using for loop. All are of FloatField type. My function gives me many objects with one result. I need just one object with all values in one ...