当前位置:   article > 正文

Unity3D:CommandInvokationFailure: Gradle build failed._unity failure: build failed with an exception

unity failure: build failed with an exception

问题:

CommandInvokationFailure: Gradle build failed. 
C:\ProgramFiles\Java\jdk1.8.0_131\bin\java.exe-classpath "D:\unity\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.0.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx2048m" "assembleRelease"

stderr[

FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'gradleOut'.
> Failed to find Build Tools revision 28.0.0

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED in 2s
]
stdout[
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to D:\sdk\android-sdk-windows\ndk-bundle.
If you are not
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/花生_TL007/article/detail/285475
推荐阅读
相关标签
  

闽ICP备14008679号