Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WindowsRegistry is not supported on this operating system #632

Open
katjai1 opened this issue Jan 15, 2025 · 0 comments
Open

WindowsRegistry is not supported on this operating system #632

katjai1 opened this issue Jan 15, 2025 · 0 comments

Comments

@katjai1
Copy link

katjai1 commented Jan 15, 2025

Windows 11 ARM 64 with the version 2.5.0

PS C:\Users\ki\IdeaProjects\mpc> flutter build appbundle --debug


FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileDebugKotlin'.
> WindowsRegistry is not supported on this operating system.

* 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 2s
Running Gradle task 'bundleDebug'...                                3.3s
Gradle task bundleDebug failed with exit code 1

Rollback to the ver. 2.0.4+2 solves an issue. Probably related with build.gradle change

    kotlin {
        jvmToolchain(17)
    }

which is caused this issue.

Flutter doctor:

[√] Flutter (Channel stable, 3.27.2, on Microsoft Windows [Version 10.0.22635.4660], locale en-US)
    • Flutter version 3.27.2 on channel stable at C:\Users\ki\dev\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 68415ad1d9 (2 days ago), 2025-01-13 10:22:03 -0800
    • Engine revision e672b006cb
    • Dart version 3.6.1
    • 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.0)
    • Android SDK at C:\Users\ki\AppData\Local\Android\sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: C:\Program Files\Microsoft\jdk-17.0.13.11-hotspot\bin\java
    • Java version OpenJDK Runtime Environment Microsoft-10376486 (build 17.0.13+11-LTS)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 2024.2)
    • Android Studio at C:\Program Files\Android\Android Studio1
    • 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.3+-12282718-b509.11)

[√] IntelliJ IDEA Ultimate Edition (version 2024.3)
    • IntelliJ at C:\Users\ki\AppData\Local\Programs\IntelliJ IDEA Ultimate
    • Flutter plugin version 83.0.4
    • Dart plugin version 243.23177

[√] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.265
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 132.0.2957.55

[√] Network resources
    • All expected network resources are available.

• No issues found!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant