closed
FAILURE: Build completed with 1 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':fluttertoast:compileDebugKotlin'.
> Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (11) and 'compileDebugKotlin' (17).
Consider using JVM Toolchain: https://kotl.in/gradle/jvm/toolchain
Learn more about JVM-target validation: https://kotl.in/gradle/jvm/target-validation
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
==============================================================================
Asked 8 months ago on February 13, 2025 8:28 PM Comments 6 times
kevin replied 8 months ago on February 17, 2025 4:31 AM
Hello
May we kindly ask if you happened to make any changes in the code?
- Kevin
فهمي هاشم replied 8 months ago on February 15, 2025 12:38 AM
hello sir i have solved so many issues but i have these is issues left regarding QR
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find com.github.glomadrian:qr-code-scanner:2.0.1.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/github/glomadrian/qr-code-scanner/2.0.1/qr-code-scanner-2.0.1.pom
- https://repo.maven.apache.org/maven2/com/github/glomadrian/qr-code-scanner/2.0.1/qr-code-scanner-2.0.1.pom
- https://storage.googleapis.com/download.flutter.io/com/github/glomadrian/qr-code-scanner/2.0.1/qr-code-scanner-2.0.1.pom
Required by:
project :app
> Could not find com.github.User:Repo:Tag.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/github/User/Repo/Tag/Repo-Tag.pom
- https://repo.maven.apache.org/maven2/com/github/User/Repo/Tag/Repo-Tag.pom
- https://storage.googleapis.com/download.flutter.io/com/github/User/Repo/Tag/Repo-Tag.pom
Required by:
project :app
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 17s
فهمي هاشم replied 8 months ago on February 14, 2025 3:24 PM
ok i will try it right now
kevin replied 8 months ago on February 14, 2025 1:16 PM
Hello
Please use Jdk vesrion 11 and Flutter Version 3.27.2
- Kevin
kevin replied 8 months ago on February 14, 2025 4:45 AM
Hello
Can you please tell us which jdk version is been used by you ?
- Kevin