C
C#3mo ago
安 Eon

Gradle build failed.

I completed my project for Android but when I try to build it, 'cause of some errors it doesn't allow me to build it. Can someone help me? 1) Starting a Gradle Daemon, 1 incompatible and 2 stopped Daemons could not be reused, use --status for details Exception while marshalling C:\Program Files\Unity\Hub\Editor\2022.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\32.0.0\package.xml. Probably the SDK is read-only 2) Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 3) CommandInvokationFailure: Gradle build failed. C:\Program Files\Unity\Hub\Editor\2022.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2022.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-7.2.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"
No description
No description
No description
2 Replies
Buddy
Buddy3mo ago
$unity