"Gradle prewarm failed"--who faced this problem?
when I compile the game for android, I get the following error: although I have the latest version of the Unity and android SDK.
Answer by EvaMuller · Feb 04, 2019 at 10:37 AM
Hello, there are more people with this problem here: https://forum.unity.com/threads/gradle-prewarm-failed-in-unity-2018-3-3f1.620206/
I have even updated to Unity 2018.3.4f1 and the error still there :(
Answer by nadh · Mar 28, 2019 at 06:53 AM
Solved by downgrading Build tools version from 29.0.0-rc1 to 28.0.2
can you help me? when I compile the game for android, I get the following error:
CommandInvokationFailure: Gradle build failed. C:/Program Files/Java/jdk1.8.0_171\bin\java.exe -classpath "D:\unity\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.2.1.jar" org.gradle.launcher.Gradle$$anonymous$$ain "-Dorg.gradle.jvmargs=-Xmx2048m" "assembleRelease"
What is the jdk version u r using? and post the error which u get after this
Your answer
Follow this Question
Related Questions
i cant build anymore after i updated android studio 0 Answers
Unity 5.4.0b11. Crashes on startup at Android 4.2.2 (target 17) 1 Answer
Failed To Compile: Android SDK Location 0 Answers
Android sdk re-pack problem 2 Answers
Unity says that I'm missing my NDK and SDK libraries, but I have them installed via Unity hub? 1 Answer