ERROR: cmd.exe failed with args /c "/APK\gradle\rungradle.bat...

阅读更多

LogPlayLevel: ERROR: cmd.exe failed with args /c "\Intermediate/Android/APK\gradle\rungradle.bat" :app:assembleDebug.

 

Unchecking Gradle Worked for me. Just go to Project Settings > Platforms: Android and uncheck Enable Gradle instead of Ant.

 

Apparent Gradle is considered to be one of the worst Java compilers out there, not really sure why UE checks it by default.

 

if you found that does not fix your problem, please try this:

 

1、"Enable gradle instead of ant" enabled.

 

2、run NVPACK/android-sdk-windows/tools/android.ba, please configurate the enviroment in the system advance enviroment first,

     "JAVA_HOME= E:\NVPACK\jdk1.8.0_77"

 

3、click on "Deselect All"

 

4、update Extras/Android Support Repository

  • ERROR: cmd.exe failed with args /c
  • 大小: 304.4 KB
  • ERROR: cmd.exe failed with args /c
  • 大小: 111.5 KB
  • ERROR: cmd.exe failed with args /c
  • 大小: 2.2 MB
  • ERROR: cmd.exe failed with args /c
  • 大小: 2.9 MB
  • ERROR: cmd.exe failed with args /c
  • 大小: 4.7 MB
  • 查看图片附件

你可能感兴趣的:(ERROR: cmd.exe failed with args /c "/APK\gradle\rungradle.bat...)