seanDaytoy
seanDaytoy
  • 发布:2018-03-22 10:24
  • 更新:2018-03-22 10:24
  • 阅读:2469

app打包一直失败是什么原因

分类:HBuilder

manifest.plus.plugins.push.igexin;manifest.plus.plugins.payment.weixin;
Buildfile: 安装包制作目录build.xml

Copy_Ressource:
[echo] Copy app resource.
[echo]
[echo] assets
[echo]

init:
[echo] Init output directory.....
[echo]

dirs:
[echo]
[echo] Creating output directories if needed...
[echo]
[mkdir] Created dir: 安装包制作目录bin/classes

resource-src:
[echo]
[echo] Generating R.java / Manifest.java from the resources...
[echo]
[echo]
[echo] outdir-r path: src
[echo]
[echo]
[echo] aapt path: SDK目录build-tools/android-4.4/aapt
[echo]

aidl:
[echo]
[echo] Compiling aidl files into Java classes...
[echo]

compile:
[echo]
[echo] outdir-classes = bin/classes
[echo] android-jar = SDK目录platforms/android-19/android.jar
[echo] external = libs
[echo]
[javac] 安装包制作目录build.xml:182: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 91 source files to 安装包制作目录bin/classes
[javac] warning: com/tencent/mm/sdk/openapi/IWXAPIEventHandler.class(com/tencent/mm/sdk/openapi:IWXAPIEventHandler.class): major version 51 is newer than 50, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.
[javac] warning: com/nostra13/dcloudimageloader/core/ImageLoader.class(com/nostra13/dcloudimageloader/core:ImageLoader.class): major version 51 is newer than 50, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.
[javac] warning: com/nostra13/dcloudimageloader/core/assist/FailReason.class(com/nostra13/dcloudimageloader/core/assist:FailReason.class): major version 51 is newer than 50, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.
[javac] warning: com/nostra13/dcloudimageloader/core/assist/ImageLoadingListener.class(com/nostra13/dcloudimageloader/core/assist:ImageLoadingListener.class): major version 51 is newer than 50, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.
[javac] warning: com/nostra13/dcloudimageloader/core/assist/ImageSize.class(com/nostra13/dcloudimageloader/core/assist:ImageSize.class): major version 51 is newer than 50, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.
[javac] warning: com/nostra13/dcloudimageloader/core/DisplayImageOptions.class(com/nostra13/dcloudimageloader/core:DisplayImageOptions.class): major version 51 is newer than 50, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.
[javac] warning: com/nostra13/dcloudimageloader/cache/disc/DiscCacheAware.class(com/nostra13/dcloudimageloader/cache/disc:DiscCacheAware.class): major version 51 is newer than 50, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.
[javac] warning: com/nostra13/dcloudimageloader/core/imageaware/ImageAware.class(com/nostra13/dcloudimageloader/core/imageaware:ImageAware.class): major version 51 is newer than 50, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.
[javac] warning: com/nostra13/dcloudimageloader/cache/memory/MemoryCacheAware.class(com/nostra13/dcloudimageloader/cache/memory:MemoryCacheAware.class): major version 51 is newer than 50, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 9 warnings

dex:
[echo]
[echo] Converting compiled files and external libraries into bin/classes.dex...
[echo]
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.tencent.mm.sdk.diffdev.a.c) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any \"-target\" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.tencent.mm.sdk.diffdev.a.b) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any \"-target\" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.tencent.mm.sdk.openapi.WXApiImplV10$ActivityLifecycleCb$1) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any \"-target\" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.tencent.mm.sdk.openapi.WXApiImplV10$ActivityLifecycleCb$2) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any \"-target\" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.
[apply] warning: Ignoring InnerClasses attribute for an anonymous inner class
[apply] (com.tencent.mm.sdk.b.c) that doesn't come with an
[apply] associated EnclosingMethod attribute. This class was probably produced by a
[apply] compiler that did not target the modern .class file format. The recommended
[apply] solution is to recompile the class from source, using an up-to-date compiler
[apply] and without specifying any \"-target\" type options. The consequence of ignoring
[apply] this warning is that reflective operations on this class will incorrectly
[apply] indicate that it is not an inner class.

package-res:

package-res-and-assets:
[echo]
[echo] Packaging resources and assets...
[echo]
[exec] Unable to add 'assets/apps/H5EB9570C/www/gulp/node_modules/gulp/nodemodules/semver/semver.browser.js.gz': file already in archive (try '-u'?)
[exec] ERROR: unable to process assets while packaging 'bin/Pandora.ap
'
[exec] ERROR: packaging of 'bin/Pandora.ap_' failedBUILD FAILED
安装包制作目录build.xml:249: The following error occurred while executing this line:
安装包制作目录build.xml:205: exec returned: 1

Total time: 1 minute 10 seconds
BuildConfigure Failed 20015

2018-03-22 10:24 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复