Unable to get mutable Windows environment variable map

求助,构建正常,但编译出现报错,日志如下

编译模式:release
使用 Android Studio 工程:F:\NewProject\build\jsb-link\frameworks\runtime-src\proj.android-studio
正在生成 apk 文件…
正在执行:’“F:\NewProject\build\jsb-link\frameworks\runtime-src\proj.android-studio\gradlew.bat” --parallel --info assembleRelease’

Initialized native services in: C:\Users\z1483.gradle\native
Removing daemon from the registry due to communication failure. Daemon information: DaemonInfo{pid=7216, address=[7ff684fe-c2c6-41b1-a026-0c4223249c41 port:50255, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], state=Idle, lastBusy=1619886626569, context=DefaultDaemonContext[uid=2c9509d4-4d64-48b3-935c-0f97092685e4,javaHome=C:\Program Files\Java\jdk-16.0.1,daemonRegistryDir=C:\Users\z1483.gradle\daemon,pid=7216,idleTimeout=10800000,daemonOpts=–add-opens,java.base/java.util=ALL-UNNAMED,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=GBK,-Duser.country=CN,-Duser.language=zh,-Duser.variant]}
Removing 1 daemon stop events from registry
Previous Daemon (7216) stopped at Sun May 02 12:41:27 CST 2021 by user or operating system
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
Starting process ‘Gradle build daemon’. Working directory: C:\Users\z1483.gradle\daemon\4.10.3 Command: C:\Program Files\Java\jdk-16.0.1\bin\java.exe --add-opens java.base/java.util=ALL-UNNAMED -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=GBK -Duser.country=CN -Duser.language=zh -Duser.variant -cp C:\Users\z1483.gradle\wrapper\dists\gradle-4.10.3-all\47sla2vl0tc5qooe1dsb59pe1r\gradle-4.10.3\lib\gradle-launcher-4.10.3.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 4.10.3
Successfully started process ‘Gradle build daemon’
An attempt to start the daemon took 7.41 secs.

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 --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org
    执行命令出错,返回值:1。