pushandplay / cordova-plugin-apprate

This plugin provide the "rate this app" functionality into your Cordova/Phonegap application
Apache License 2.0
300 stars 190 forks source link

Not building after last update #285

Open OnMusicApps opened 3 years ago

OnMusicApps commented 3 years ago

Hello,

I was being able to use correctly the plugin until one hour ago, but now Phonegap Build is throwing an error. I believe it's related to the last update. The error I'm getting is:

BUILD FAILED Total time: 20.721 secs Error: /var/gimlet/tmp/46968145428140/2329109/gradlew: Command failed with exit code 1 Error output: Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. /var/gimlet/tmp/46968145428140/2329109/src/org/pushandplay/cordova/apprate/AppRate.java:45: error: lambda expressions are not supported in -source 1.6 request.addOnCompleteListener(task -> { ^ (use -source 8 or higher to enable lambda expressions) 1 error

FAILURE: Build failed with an exception.

Any idea if there is anything I can to to fix it?

Thanks.

EinfachHans commented 3 years ago

What do you have set as minSdkVersion and targetSdkVersion?