I am not able to build for Android.
this is my configuration
flutter doctor --verbose
[✓] Flutter (Channel stable, 3.27.1, on Microsoft Windows [Version 10.0.26120.3653], locale it-IT)
• Flutter version 3.27.1 on channel stable at C:\flutterdev
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 17025dd882 (4 months ago), 2024-12-17 03:23:09 +0900
• Engine revision cb4b5fff73
• Dart version 3.6.0
• DevTools version 2.40.2
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1)
• Android SDK at C:\Users\nicold\AppData\Local\Android\sdk
• Platform android-35-ext14, build-tools 35.0.1
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 21.0.5+-12932927-b750.29)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[✓] Visual Studio - develop Windows apps (Visual Studio Professional 2022 17.13.4)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Professional
• Visual Studio Professional 2022 version 17.13.35913.81
• Windows 10 SDK version 10.0.22621.0
[✓] Android Studio (version 2024.3)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.5+-12932927-b750.29)
[✓] VS Code (version 1.98.2)
• VS Code at C:\Users\nicold\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.106.0
[✓] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.26120.3653]
• Chrome (web) • chrome • web-javascript • Google Chrome 132.0.6834.160
• Edge (web) • edge • web-javascript • Microsoft Edge 135.0.3179.41
[✓] Network resources
• All expected network resources are available.
• No issues found!
when I build for Android I receive this error:
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':biometric_storage:bundleLibCompileToJarDebug'.
> Could not create task ':biometric_storage:compileDebugJavaWithJavac'.
> Failed to calculate the value of task ':biometric_storage:compileDebugJavaWithJavac' property 'javaCompiler'.
> No matching toolchains found for requested specification: {languageVersion=17, vendor=any, implementation=vendor-specific} for WINDOWS on x86_64.
> No locally installed toolchains match and toolchain download repositories have not been configured.
* Try:
> Learn more about toolchain auto-detection at https://docs.gradle.org/8.5/userguide/toolchains.html#sec:auto_detection.
> Learn more about toolchain repositories at https://docs.gradle.org/8.5/userguide/toolchains.html#sub:download_repositories.
> 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 2s
Error: Gradle task assembleDebug failed with exit code 1
No issue on iOS, Mac, Win or Web.
thank you!
I am not able to build for Android.
this is my configuration
when I build for Android I receive this error:
No issue on iOS, Mac, Win or Web.
thank you!