Kotlin And Jack Unsupported (android Studio 2.3.2)
I am getting this error while configuring kotlin plugin with Jack. I an using Android studio 2.3.2 currently. Error:Kotlin Gradle plugin does not support the deprecated Jack toolc
Solution 1:
If you are using latest IDE(3.0, preview version) it won't let you use Jack or you are using kotlin version above 1.1.1.
Jack has been deprecated because of the build time performance issue, It was mentioned in one of the session of google IO 2017. You can read this blog
In official documentation of Jack following warning is given:
The Jack toolchain is deprecated, as per this announcement. However, you may continue to use it to enable Java 8 language features until the replacement is available.
If you still want to use it, switch back you Android studio IDE to 2.3, and revert back to kotlin 1.1.1
EDIT
Kotlin by default supports Lambda expressions. If you want to use lambda expression in java with Kotlin also, you have to use Android Studio 3.0.
Post a Comment for "Kotlin And Jack Unsupported (android Studio 2.3.2)"