grenzfrequence
grenzfrequence

Reputation: 291

warning: Supported source version 'RELEASE_7' from annotation processor 'org.jetbrains.kotlin.kapt3.ProcessorWrapper' less than -source '1.8'

I get this error message when I compile with Android Studio 3.1 and Kotlin. What I need to configure to avoid this warning?

warning: Supported source version 'RELEASE_7' from annotation processor 'org.jetbrains.kotlin.kapt3.ProcessorWrapper' less than -source '1.8'

Upvotes: 8

Views: 3613

Answers (2)

mochadwi
mochadwi

Reputation: 1268

Continue from @saba-21 answer.

The workaround:

  1. change kapt -> annotationProcessor if you want to retain the room version
  2. or just upgrade your room version to the latest stable currently 1.1.1

Upvotes: 0

Saba-21
Saba-21

Reputation: 132

That warning is a bug, that happens when you use kapt instead of annotationProcessor on some libraries, for example Room on version: 1.0.0 (fixed by using version: 1.1.0-beta2).

Upvotes: 4

Related Questions