Reputation: 2774
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
Upvotes: 10
Views: 1297
Reputation: 9812
I had the same problem with version 1.0.0-alpha3, but with version 1.0.0-alpha1 everything works fine.
Upvotes: 2