The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_5kl4xvzwo8jg9ei3or8z6syxj.run(/Users/sukasuka/WeX5_V3.9-mac/model/Native/kidsportal/build/src/platforms/android/build.gradle:149)
FAILURE: Build failed with an exception.
BUILD FAILED* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_debugApk'.
> A problem occurred configuring project ':CordovaLib'.
Total time: 5.429 secs > Could not resolve all files for configuration ':CordovaLib:classpath'.
> Could not download android-maven-gradle-plugin.jar (com.github.dcendents:android-maven-gradle-plugin:1.5): No cached version available for offline mode
> Could not download gradle-bintray-plugin.jar (com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3): No cached version available for offline mode
> Could not download http-builder.jar (org.codehaus.groovy.modules.http-builder:http-builder:0.7.2): No cached version available for offline mode
> Could not download maven-ant-tasks.jar (org.apache.maven:maven-ant-tasks:2.1.3): No cached version available for offline mode
> Could not download httpclient.jar (org.apache.httpcomponents:httpclient:4.2.1): No cached version available for offline mode
> Could not download json-lib-jdk15.jar (net.sf.json-lib:json-lib:2.3): No cached version available for offline mode
> Could not download nekohtml.jar (net.sourceforge.nekohtml:nekohtml:1.9.16): No cached version available for offline mode
> Could not download xml-resolver.jar (xml-resolver:xml-resolver:1.2): No cached version available for offline mode
> Could not download ant.jar (org.apache.ant:ant:1.8.0): No cached version available for offline mode
> Could not download classworlds.jar (classworlds:classworlds:1.1-alpha-2): No cached version available for offline mode
> Could not download plexus-container-default.jar (org.codehaus.plexus:plexus-container-default:1.0-alpha-9-stable-1): No cached version available for offline mode
> Could not download plexus-utils.jar (org.codehaus.plexus:plexus-utils:1.5.15): No cached version available for offline mode
> Could not download plexus-interpolation.jar (org.codehaus.plexus:plexus-interpolation:1.11): No cached version available for offline mode
> Could not download maven-artifact.jar (org.apache.maven:maven-artifact:2.2.1): No cached version available for offline mode
> Could not download maven-artifact-manager.jar (org.apache.maven:maven-artifact-manager:2.2.1): No cached version available for offline mode
> Could not download maven-model.jar (org.apache.maven:maven-model:2.2.1): No cached version available for offline mode
> Could not download maven-project.jar (org.apache.maven:maven-project:2.2.1): No cached version available for offline mode
> Could not download maven-error-diagnostics.jar (org.apache.maven:maven-error-diagnostics:2.2.1): No cached version available for offline mode
> Could not download maven-settings.jar (org.apache.maven:maven-settings:2.2.1): No cached version available for offline mode
> Could not download wagon-file.jar (org.apache.maven.wagon:wagon-file:1.0-beta-6): No cached version available for offline mode
> Could not download wagon-http-lightweight.jar (org.apache.maven.wagon:wagon-http-lightweight:1.0-beta-6): No cached version available for offline mode
> Could not download wagon-provider-api.jar (org.apache.maven.wagon:wagon-provider-api:1.0-beta-6): No cached version available for offline mode
> Could not download httpcore.jar (org.apache.httpcomponents:httpcore:4.2.1): No cached version available for offline mode
> Could not download commons-codec.jar (commons-codec:commons-codec:1.6): No cached version available for offline mode
> Could not download commons-beanutils.jar (commons-beanutils:commons-beanutils:1.8.0): No cached version available for offline mode
> Could not download commons-collections.jar (commons-collections:commons-collections:3.2.1): No cached version available for offline mode
> Could not download commons-lang.jar (commons-lang:commons-lang:2.4): No cached version available for offline mode
> Could not download ezmorph.jar (net.sf.ezmorph:ezmorph:1.0.6): No cached version available for offline mode
> Could not download xercesImpl.jar (xerces:xercesImpl:2.9.1): No cached version available for offline mode
> Could not download ant-launcher.jar (org.apache.ant:ant-launcher:1.8.0): No cached version available for offline mode
> Could not download maven-repository-metadata.jar (org.apache.maven:maven-repository-metadata:2.2.1): No cached version available for offline mode
> Could not download backport-util-concurrent.jar (backport-util-concurrent:backport-util-concurrent:3.1): No cached version available for offline mode
> Could not download maven-profile.jar (org.apache.maven:maven-profile:2.2.1): No cached version available for offline mode
> Could not download maven-plugin-registry.jar (org.apache.maven:maven-plugin-registry:2.2.1): No cached version available for offline mode
> Could not download wagon-http-shared.jar (org.apache.maven.wagon:wagon-http-shared:1.0-beta-6): No cached version available for offline mode
> Could not download xml-apis.jar (xml-apis:xml-apis:1.3.04): No cached version available for offline mode
> Could not download xercesMinimal.jar (nekohtml:xercesMinimal:1.9.6.2): No cached version available for offline mode
> Could not download nekohtml.jar (nekohtml:nekohtml:1.9.6.2): No cached version available for offline mode
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error: /Users/sukasuka/WeX5_V3.9-mac/model/Native/kidsportal/build/src/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_debugApk'.
> A problem occurred configuring project ':CordovaLib'.
> Could not resolve all files for configuration ':CordovaLib:classpath'.
> Could not download android-maven-gradle-plugin.jar (com.github.dcendents:android-maven-gradle-plugin:1.5): No cached version available for offline mode
> Could not download gradle-bintray-plugin.jar (com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3): No cached version available for offline mode
> Could not download http-builder.jar (org.codehaus.groovy.modules.http-builder:http-builder:0.7.2): No cached version available for offline mode
> Could not download maven-ant-tasks.jar (org.apache.maven:maven-ant-tasks:2.1.3): No cached version available for offline mode
> Could not download httpclient.jar (org.apache.httpcomponents:httpclient:4.2.1): No cached version available for offline mode
> Could not download json-lib-jdk15.jar (net.sf.json-lib:json-lib:2.3): No cached version available for offline mode
> Could not download nekohtml.jar (net.sourceforge.nekohtml:nekohtml:1.9.16): No cached version available for offline mode
> Could not download xml-resolver.jar (xml-resolver:xml-resolver:1.2): No cached version available for offline mode
> Could not download ant.jar (org.apache.ant:ant:1.8.0): No cached version available for offline mode
> Could not download classworlds.jar (classworlds:classworlds:1.1-alpha-2): No cached version available for offline mode
> Could not download plexus-container-default.jar (org.codehaus.plexus:plexus-container-default:1.0-alpha-9-stable-1): No cached version available for offline mode
> Could not download plexus-utils.jar (org.codehaus.plexus:plexus-utils:1.5.15): No cached version available for offline mode
> Could not download plexus-interpolation.jar (org.codehaus.plexus:plexus-interpolation:1.11): No cached version available for offline mode
> Could not download maven-artifact.jar (org.apache.maven:maven-artifact:2.2.1): No cached version available for offline mode
> Could not download maven-artifact-manager.jar (org.apache.maven:maven-artifact-manager:2.2.1): No cached version available for offline mode
> Could not download maven-model.jar (org.apache.maven:maven-model:2.2.1): No cached version available for offline mode
> Could not download maven-project.jar (org.apache.maven:maven-project:2.2.1): No cached version available for offline mode
> Could not download maven-error-diagnostics.jar (org.apache.maven:maven-error-diagnostics:2.2.1): No cached version available for offline mode
> Could not download maven-settings.jar (org.apache.maven:maven-settings:2.2.1): No cached version available for offline mode
> Could not download wagon-file.jar (org.apache.maven.wagon:wagon-file:1.0-beta-6): No cached version available for offline mode
> Could not download wagon-http-lightweight.jar (org.apache.maven.wagon:wagon-http-lightweight:1.0-beta-6): No cached version available for offline mode
> Could not download wagon-provider-api.jar (org.apache.maven.wagon:wagon-provider-api:1.0-beta-6): No cached version available for offline mode
> Could not download httpcore.jar (org.apache.httpcomponents:httpcore:4.2.1): No cached version available for offline mode
> Could not download commons-codec.jar (commons-codec:commons-codec:1.6): No cached version available for offline mode
> Could not download commons-beanutils.jar (commons-beanutils:commons-beanutils:1.8.0): No cached version available for offline mode
> Could not download commons-collections.jar (commons-collections:commons-collections:3.2.1): No cached version available for offline mode
> Could not download commons-lang.jar (commons-lang:commons-lang:2.4): No cached version available for offline mode
> Could not download ezmorph.jar (net.sf.ezmorph:ezmorph:1.0.6): No cached version available for offline mode
> Could not download xercesImpl.jar (xerces:xercesImpl:2.9.1): No cached version available for offline mode
> Could not download ant-launcher.jar (org.apache.ant:ant-launcher:1.8.0): No cached version available for offline mode
> Could not download maven-repository-metadata.jar (org.apache.maven:maven-repository-metadata:2.2.1): No cached version available for offline mode
> Could not download backport-util-concurrent.jar (backport-util-concurrent:backport-util-concurrent:3.1): No cached version available for offline mode
> Could not download maven-profile.jar (org.apache.maven:maven-profile:2.2.1): No cached version available for offline mode
> Could not download maven-plugin-registry.jar (org.apache.maven:maven-plugin-registry:2.2.1): No cached version available for offline mode
> Could not download wagon-http-shared.jar (org.apache.maven.wagon:wagon-http-shared:1.0-beta-6): No cached version available for offline mode
> Could not download xml-apis.jar (xml-apis:xml-apis:1.3.04): No cached version available for offline mode
> Could not download xercesMinimal.jar (nekohtml:xercesMinimal:1.9.6.2): No cached version available for offline mode
> Could not download nekohtml.jar (nekohtml:nekohtml:1.9.6.2): No cached version available for offline mode
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
****ERROR****: 子任务 "exec" 执行失败。
****ERROR****: 任务 "buildAndroid" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: exec returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
/var/folders/0q/5vc2tnrx5fbcz7mkkkhy0sym0000gn/T/bb71c88d-7442-41e3-9689-ec50e152261f/pack.xml:91: exec returned: 1
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at com.justep.deploy.app.utils.BuildHelper.execTask(Unknown Source)
at com.justep.deploy.app.utils.Builder.main(Unknown Source)
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "pack" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: 253
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html