SuddenH4X / awesome-app-rating

An Android library providing a dialog, which asks the user to rate the app or give feedback. You can also use the library to show the Google in-app review easily under certain conditions.
Apache License 2.0
231 stars 40 forks source link

JVM target error #53

Closed Tavorcl closed 3 years ago

Tavorcl commented 3 years ago

Hi, when i add the library and i try to compile my project, i get many of output lines (from gradle) that throws this error:

Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' option

Perhaps the library's gradle file is missing this piece of code?

compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
  }

Obviously in my project this configuration is present, but as far as i can see, the library hasn't it. And the issue only happens if i add the library in the project's gradle file, otherwise i don't get this error.

I tried some suggestions mentioned here but nothing seems to resolve it.

SuddenH4X commented 3 years ago

Hi @Tavorcl, thanks for opening this issue. You're right. I will fix this issue with the next release 😉

SuddenH4X commented 3 years ago

Fixed with #58.