Run with --scan to get full insights. I put the /bin in there. All you’ve done there is create a variable that could be accessed as %gradle% with the value C:\Software\Gradle\gradle-6.2.2-all\bin. Unable to get mutable Windows environment variable map I put the /bin in there. The gradle executable is usually installed here (when installed by Android-Studio): **.gradle\wrapper\dists\gradle--bins\\gradle- \bin** , refers to the user directory, eg. C:Users/myuser , refers to installed gradle version number like 4.4 or 4.4.1 etc build problem · Issue #38 · UnlegitMC/FDPClient_legacy · GitHub Try: Run with --stacktrace option to get the stack trace. I can't get windows environment variable to work - Gradle Forums Again, Unable to get mutable Windows environment … Run with --debug option to get more log output. Run with --scan to get full insights. Okay, time to update my Gradle wrapper from an ancient Gradle 4 to the latest version as of writing this, Gradle 7.0.2. Run with --scan to get full insights. Asking for help, clarification, or responding to other answers. Android Studio doesn't read environment variables, so this approach won't work. * What went wrong: Unable to get mutable Windows environment variable map * Try: Run with --info or --debug option to get more log output. Troubleshooting builds - Gradle For more vulnerable data or properties that may change when running tasks, you can set such properties using environment variables prefixed with ORG_GRADLE_PROJECT_, like ORG_GRADLE_PROJECT_myProperty. FAILURE: Build failed with an exception. But avoid …. * Exception is: net.rubygrapefruit.platform.NativeException: Unable to get mutable Windows environment variable map at … FAILURE: Build failed with an exception. Run with --scan to get full insights. Someone please help me : flutterhelp - reddit Its integrated with access control system. Unable to set environmental variables for Gradle build - JetBrains Ah, so I basically added gradle to the environmental variable called "Path", it has a list with directories. Run with --info or --debug option to get more log output. Please be sure to answer the question.Provide details and share your research!