Anton Kazakov
Anton Kazakov

Reputation: 2774

Kotlin kapt and android architecture components build fail

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

Answers (1)

Mladen Rakonjac
Mladen Rakonjac

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

Related Questions