|
使用WeX5 3.8pre对原来3.7版能正常打包的app进行打包,结果打包失败。打包过程及出错信息如下,请帮忙看看是什么问题?是ndk吗?(因发贴长度限制,删除了前面和后面的部分内容):
... ...
生成android应用包:
You have been opted out of telemetry. To change this, run: cordova telemetry on.
args.nofetch undefined
android project rename compelete!!!!!!
ANDROID_HOME=E:\WeX5_3.8_pre\tools\adt-sdk
JAVA_HOME=E:\WeX5_3.8_pre\java\jre1.8
Parallel execution with configuration on demand is an incubating feature.
:wrapper
BUILD SUCCESSFUL
Total time: 3.963 secs
Subproject Path: CordovaLib
Subproject Path: JustepGetContent
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 E:\WeX5_3.8_pre\tools\adt-sdk\ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
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_cljiu6wkw4lo5l58mr0xe2lxq.run(E:\WeX5_3.8_pre\model\Native\power\build\src\platforms\android\build.gradle:149)
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.
BUILD FAILED
Total time: 7.53 secs
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
... ...
|
|