Open bassamalkhateb opened 1 month ago
Same problem here
Same Problem here, any solution?
As per version 1.2.0
:
Library now requires Java 17 or higher and your app must build on API 34 (14 Upside Down Cake) on Android.
Thanks for your response. Issue still there with:
`compileSdkVersion 34 ndkVersion flutter.ndkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '1.8'
}`
Run flutter pub upgrade
. Also, run flutter clean
so that it rebuilds from scratch.
ok, thanks. i think the problem was an overridden transitive dependency of package_info_plus (overriden to 4.2.0). But that justs switched the problem to package_info_plus:
Execution failed for task ':package_info_plus:compileReleaseJavaWithJavac'. error: invalid source release: 17
To be precise i changed the jvmTarget to 17 too. As mentioned here #2723 i made the same changes.
plz tell how to solve this error
For me the problem is solved exacly as dexcibed here..
If u depend on package_info_plus too and have issue with it have a look at package_info_plus changelog
there are some requirements to fullfill since version 6.0.0 in my case i hade to migrate to grade 8.4 for android part
**
Execution failed for task ':wakelock_plus:compileReleaseJavaWithJavac'.
**
compileSdk 34 ndkVersion flutter.ndkVersion
classpath 'com.android.tools.build:gradle:7.3.1'
ext.kotlin_version = '1.9.10'