* What went wrong: Unable to get mutable Windows environment variable map * 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 Exception: Gradle task assembleDebug failed with exit code 1 Exited (sigterm) * What went wrong: Unable to get mutable Windows environment variable map * Try: Run with --info or --debug option to get more log output. When trying to run gradlew build in a minecraft forge project, I get: I'm … I put the /bin in there. * Get more help at https://help.gradle.org Exception: Gradle task assembleDebug failed with exit code 1 Exited (sigterm) Unable to get mutable Windows environment variable map * Try: Run with --stacktrace option to get the stack trace. Opens and close single or both gate with remote control and warning light. Try: Run with --stacktrace option to get the stack trace. Hello, so I've been trying to find a solution to this for what seems to be forever, now I'm reposting this thread with a lot more information hopefully leading to its resolution. Android Studio has a limitation that all of its modules need to be located underneath the project root. Unable to get mutable Windows environment variable map Unable to get mutable Windows environment variable map Run with --scan to get full insights. 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. If you want the gradle binary to be found from any directory, you need to add C:\Software\Gradle\gradle-6.2.2-all\bin to the PATH variable (each path ; separated). Environment variable in settings.gradle not working with Android … FAILURE: Build failed with an exception. The gradle executable is usually installed here (when installed by Android-Studio): **