夜深的咖啡
夜深的咖啡
  • 发布:2018-05-17 21:24
  • 更新:2018-05-30 13:25
  • 阅读:1968

求助大神,安装插件包以后无法打包,提醒打包失败,是什么回事?

分类:HBuilder

之前打包好好的,因为开了个聊天程序,用到了leanCloud的第三方JS库,本地用NPM下载下来,把插件包复制到项目里,打包就不能打了,哪位大神告诉一下原因?
贴一下报错代码

manifest.plus.plugins.ad.dcloud;
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 89 source files to 安装包制作目录bin/classes
[javac] warning: 安装包制作目录libs/my-imageloader.jar(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: 安装包制作目录libs/my-imageloader.jar(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: 安装包制作目录libs/my-imageloader.jar(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: 安装包制作目录libs/my-imageloader.jar(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: 安装包制作目录libs/my-imageloader.jar(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: 安装包制作目录libs/my-imageloader.jar(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: 安装包制作目录libs/my-imageloader.jar(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: 安装包制作目录libs/my-imageloader.jar(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] 8 warnings

dex:
[echo]
[echo] Converting compiled files and external libraries into bin/classes.dex...
[echo]

package-res:

package-res-and-assets:
[echo]
[echo] Packaging resources and assets...
[echo]
[exec] Unable to add 'assets/apps/zhangtongtianxia_shop/www/modules/message/nodemodules/bytebuffer/dist/bytebuffer-dataview.min.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 29 seconds
BuildConfigure Failed 20015

BuildConfigure Failed 20015

2018-05-17 21:24 负责人:无 分享
已邀请:
格创网络

格创网络 - 专业小程序、APP开发。

我就一个网址也是报这个错,一个插件也没有放。

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