What is my problem

FAILURE: Build failed with an exception. * 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)

I am pretty new to this kind of stuff and I’ve been having this error which doesn’t let me show anything on my API.

Did you actually try to do what the message suggests?

I don’t understand what to do with the message honestly I am very new. I will very much appreciate if you can tell me how to run with --stracktrace

Just add it to your Gradle call. Or if you run from inside IntelliJ you can just click it. If running from any other Integration I don’t know but there is for sure a way. At least you can always come back to executing from command line and add it there.

I got the same problem and I wasnt able to fix it if you found a fix please help me