#
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


  1. Generic placeholder image

    kevin replied

    Hello

    May we kindly ask if you happened to make any changes in the code?

    Thanks & Regards
    - Kevin
  2. Generic placeholder image

    فهمي هاشم replied

    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

     

     

  3. Generic placeholder image

    فهمي هاشم replied

    ok i will try it right now 

  4. Generic placeholder image

    kevin replied

    Hello 

    Please use Jdk vesrion 11 and Flutter Version 3.27.2

    Thanks & Regards
    - Kevin
  5. Generic placeholder image

    kevin replied

    Hello

    Can you please tell us which jdk version is been used by you ?

    Thanks & Regards
    - Kevin
Recent Tickets
river is not receiving ri... 8 months ago on January 29, 2025 9:03 AM problem with update files... 1 week ago on October 14, 2025 5:45 AM problems with flutter_goo... 1 week ago on October 14, 2025 5:23 AM Issues with installation... 1 month ago on September 12, 2025 10:37 AM in-app purchases are prem... 1 month ago on September 5, 2025 4:34 AM Flutter Brain Tree packag... 1 month ago on September 4, 2025 5:20 PM App rejected in Apple Sto... 1 month ago on September 3, 2025 10:01 AM I would like to know how ... 1 month ago on August 29, 2025 1:45 AM error - Mighty Web Webvie... 1 month ago on August 27, 2025 9:21 AM Google notification We wi... 1 month ago on August 27, 2025 1:32 AM