Creating configuration testReleasePublish
Creating configuration testReleaseProvided
Creating configuration testReleaseWearApp
Creating configuration testReleaseAnnotationProcessor
Creating configuration testReleaseJackPlugin
Parsing the SDK, no caching allowed
SDK initialized in 0 ms
FAILURE: Build failed with an exception.
* Where:
Build file 'D:\FairyGUI\FairyGUI-cocos2dx\Examples\cocos2d\cocos\platform\android\libcocos2dx\build.gradle' line: 29
* What went wrong:
A problem occurred evaluating project ':libcocos2dx'.
> Could not find method implementation() for arguments [directory '../java/libs'] on object of type org.gradle.api.inter
nal.artifacts.dsl.dependencies.DefaultDependencyHandler.
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
BUILD FAILED
Total time: 1.386 secs
Stopped 0 worker daemon(s).
Received result Failure[value=org.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareE
xception: Build file 'D:\FairyGUI\FairyGUI-cocos2dx\Examples\cocos2d\cocos\platform\android\libcocos2dx\build.gradle' li
ne: 29
A problem occurred evaluating project ':libcocos2dx'.] from daemon DaemonInfo{pid=14876, address=[e4b412c5-fabc-4b8d-913
a-9da9f8f56614 port:64927, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], state=Idle, lastBusy=1534788528489, context=Defaul
tDaemonContext[uid=5ec23d19-cee4-4a26-ad8e-bcbd0d7bae39,javaHome=C:\Program Files\Java\jdk1.8.0_91,daemonRegistryDir=C:\
Users\NothiX\.gradle\daemon,pid=14876,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryErr
or,-Xmx1024m,-Dfile.encoding=GBK,-Duser.country=US,-Duser.language=en,-Duser.variant]} (build should be done).
执行命令出错,返回值:1。