flutter中用于保存图片到相册的Plugin
275
stars
377
forks
source link
Execution failed for task ':image_gallery_saver:compileDebugKotlin'. > Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (1.8) and 'compileDebugKotlin' (17). #300
Open
PeOS-China opened 5 months ago
Flutter升级到最新之后,Android的编译出现了以下异常:
`FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':image_gallery_saver:compileDebugKotlin'.
Consider using JVM Toolchain: https://kotl.in/gradle/jvm/toolchain Learn more about JVM-target validation: https://kotl.in/gradle/jvm/target-validation
Try:
Get more help at https://help.gradle.org
BUILD FAILED in 52s Error: Gradle task assembleDebug failed with exit code 1`