fluttercommunity / wakelock_plus

Flutter plugin that allows you to keep the device screen awake on Android, iOS, macOS, Windows, Linux, and web.
BSD 3-Clause "New" or "Revised" License
49 stars 38 forks source link

invalid source release, info_plus #42

Closed cksoft0807 closed 2 months ago

cksoft0807 commented 2 months ago

Hi,

with wake_lock_plus since 1.2.x i get the following error, when building for android.

FAILURE: Build failed with an exception.

1.6 with package_info_plus 4.2.0 compiling fine

diegotori commented 2 months ago

@cksoft0807 this library from version 1.2.0, along with package_info_plus from 6.0.0 and higher, now requires at least Java 17.

Please upgrade Java to that version in order to continue building for Android.

trapeye commented 1 month ago

I already upgrade to jdk 22, still get this problem, did I do wrong?