I was trying to compile in flax engine for android but it is giving the following error “Failed to build Gradle project into package (result code: 1). See log for more info.” , here are my environment variables:
ANDROID_HOME = “C:\Users\User\AppData\Local\Android\Sdk”
ANDROID_NDK_HOME = “C:\Users\User\AppData\Local\Android\Sdk\ndk”
JAVA_HOME = “C:\Program Files\Android\Android Studio\jbr”
when I build when it arrives at this part:
[ 00:00:17,806 ]: [Info] Building Gradle project into package...
[ 00:00:17,806 ]: [Info] Command: "C:\Users/User/Documents/Flax Projects/origin soccer full/Output/Android/gradlew.bat" assembleDebug
[ 00:00:17,806 ]: [Info] Working directory: C:\Users/User/Documents/Flax Projects/origin soccer full/Output/Android
it gives this error:
[ 00:00:20,780 ]: [Error] Failed to build Gradle project into package (result code: 1). See log for more info.
[ 00:00:20,780 ]: [Error] Game building failed!