I'am using Kotlin, kapt and Android Architecture components. When I build project everything seems fine but after trying to run app on device/emulator Gradle's :assemble task throw these errors:
Warning:warning: Supported source version 'RELEASE_7' from annotation processor 'android.arch.persistence.room.RoomProcessor' less than -source '1.8'
Warning:warning: Supported source version 'RELEASE_7' from annotation processor 'android.arch.lifecycle.LifecycleProcessor' less than -source '1.8'
Warning:warning: The following options were not recognized by any processor: '[kapt.kotlin.generated]'
And build fails. Can someone help me with it?
UPDATE
I had the same problem with version 1.0.0-alpha3, but with version 1.0.0-alpha1 everything works fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With