2***@qq.com
2***@qq.com
  • 发布:2020-04-28 02:38
  • 更新:2020-04-28 02:39
  • 阅读:734

安卓打包失败,iOS没问题

分类:HBuilder

manifest.plus.plugins.ad.dcloud;
Buildfile: 安装包制作目录build.xml

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

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

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

resource-src:
[echo] Generating R.java / Manifest.java from the resources...
[echo] outdir-r path: src
[echo] aapt path: /srv/android/sdk/build-tools/25.0.3/aapt

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

compile:
[echo]
[echo] outdir-classes = bin/classes
[echo] android-jar = /srv/android/sdk/platforms/android-21/android.jar
[echo] external = libs
[echo]
[javac] 安装包制作目录build.xml:165: 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]
[javac] WARNING
[javac]
[javac] The -source switch defaults to 1.8 in JDK 1.8.
[javac] If you specify -target 1.6 you now must also specify -source 1.6.
[javac] Ant will implicitly add -source 1.6 for you. Please change your build file.
[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.

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/H5B1166ED/www/static/css/app.3f07b2055d41a9ca983dc7c9bc77f365.css.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:232: The following error occurred while executing this line:
安装包制作目录build.xml:190: exec returned: 1

Total time: 12 seconds
BuildConfigure Failed 20015

BuildConfigure Failed 20015

2020-04-28 02:38 负责人:无 分享
已邀请:
2***@qq.com

2***@qq.com (作者)

最后面那个是日志附件。不清楚原因,真的裂开了。

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