I'm running into an issue with Android Studio 2.2....
# android
f
I'm running into an issue with Android Studio 2.2.3 and Kotlin 1.1.0-beta-22. In the build.gradle for my project I've defined the property
ext.kotlin_version = '1.1.0-beta-22'
, added the maven repository (
maven { url '<http://dl.bintray.com/kotlin/kotlin-eap-1.1>' }
) and set the classpath (
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
). In the kotlin-stdlib is also in the dependencies for my app module and refers to the same property (
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
) and the kotlin-android plugin is applied at the top (
apply plugin: 'kotlin-android'
). But somehow I'm still getting the following error when I try to use a method reference:
This feature is only available since Kotlin 1.1: bound callable reference
.