- Home /
Failed to execute aapt. Gradle build failed
Hello there. I'm literally desperate: it's like 5 hours that I'm trying to buid my apk. I followed the solution proposed by these old post: https://answers.unity.com/questions/1419389/how-to-fix-android-gradle-failure.html
After many attempts, this is the result:
The error message are the following: com.android.ide.common.process.ProcessException: Failed to execute aapt See the Console for details. CommandInvokationFailure: Gradle build failed. C:/Program Files/Java/jdk1.8.0_05\bin\java.exe -classpath "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.0.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx2048m" "assembleRelease"
I'm using JDK 8 and I downgraded my Android SDK tools, as suggested in many other posts.
Answer by Badaw · Nov 01, 2018 at 05:03 PM
i have the same error, can you tell me to which version you downgraded you SDK ?
Answer by Panchulonz · Dec 28, 2018 at 02:22 PM
Or you can change in "build settings">"build system" as internal
Your answer
Follow this Question
Related Questions
I have a build problem android. 0 Answers
framework not found FBLPromises after build in XCODE...ERROR 1 Answer
"CommandInvokationFailure: Gradle build failed" when building to Android 1 Answer
Distribute terrain in zones 3 Answers
several build errors while trying to build unity project to android device 0 Answers