https://kotlinlang.org logo
z

zsmb

01/20/2017, 6:58 PM
Hey everyone. I'm trying to add Realm to an Android project that uses Kotlin, and even before writing any Realm code, adding the
apply plugin: 'realm-android'
line to my module's Gradle file gives me this error when I try to build:
Copy code
Error:Execution failed for task ':data:compileDebugAndroidTestJavaWithJavac'.
 java.lang.NoClassDefFoundError:
org/jetbrains/kotlin/annotation/AnnotationProcessorWrapper
I thought it was yet another Dagger issue, but my app works just fine without the Realm plugin added.