hey can anyone solution of this problem is .everything ok but when i build android apk package. its get’s android build failure. i attached my log
CommandInvokationFailure: Gradle build failed
hey can anyone solution of this problem is .everything ok but when i build android apk package. its get’s android build failure. i attached my log
CommandInvokationFailure: Gradle build failed
Hello, I guess this is a known bug with java 9.
you can track this issue from here
Most of people said that installing java 8 solved their problem. so go ahead and try it. and please inform us about the outcome.
Hi @vijayexperts Unity version of 2017 or later are only compatible with SDK 25.2.5 and JDK 1.8.161 (I think). So change your SDK → Tools with 25.2.5 version. If you don’t want to overwrite your tools folder you can rename it to something else. Here is my SDK and JDK you can download and add it to the Unity → Preferences → External Build https://drive.google.com/drive/folders/16n3hvR9JfTaKWW0MGNDhHLc6XIg3agM9?usp=sharing
hope it works on you. Insya Allah. Regards, Ikhsan Syahputra.