Failed to apply plugin 'kotlin-android'

1,415 views
Skip to first unread message

Mitchell Wong Ho

unread,
Dec 7, 2015, 2:04:11 AM12/7/15
to RoboVM
I've tried created a RoboVM Android Kotlin project a coupe of times now, and keep getting the same build error originating from core/build.gradle:

Error:(14, 0) Gradle: A problem occurred evaluating project ':core'.
> Failed to apply plugin [id 'kotlin-android']
   > Extension with name 'android' does not exist. Currently registered extension names: [ext, retrolambda, defaultArtifacts, reporting, binaries]

Any clue as to what the issue may be?

Mario Zechner

unread,
Dec 7, 2015, 3:21:02 AM12/7/15
to RoboVM
How did you generate the project? Please show the `buildscript` clause in your android/build.gradle file.

Noah Andrews

unread,
Dec 7, 2015, 10:40:26 PM12/7/15
to RoboVM
As of the latest Kotlin beta, the kotlin-android plugin is obsolete. http://blog.jetbrains.com/kotlin/2015/12/kotlin-1-0-beta-3-is-out/
Reply all
Reply to author
Forward
0 new messages