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
71 stars 54 forks source link

invalid source release, info_plus #42

Closed cksoft0807 closed 7 months ago

cksoft0807 commented 7 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 7 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 6 months ago

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