z***@126.com
z***@126.com
  • 发布:2017-03-29 11:41
  • 更新:2017-03-29 11:48
  • 阅读:1202

android云端打包老是失败

分类:HBuilder

错误详情

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:185: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 2 source files to 安装包制作目录bin/classes

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] libpng error: Not a PNG file
[exec] ERROR: Failure processing PNG image res/drawable-xhdpi/splash.png
[exec] libpng error: Not a PNG file
[exec] ERROR: Failure processing PNG image res/drawable-xxhdpi/splash.png
[exec] res/layout/dcloud_dialog.xml:3: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dcloud_dialog_shape_bg').
[exec] res/layout/dcloud_dialog.xml:12: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dcloud_dialog_shape').
[exec] res/layout/dcloud_image_pick_gallery.xml:25: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dcloud_image_pick_title_sel').
[exec] res/layout/dcloud_image_pick_gallery.xml:60: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dcloud_image_pick_no_media').
[exec] res/layout/dcloud_image_pick_gallery_item.xml:6: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dcloud_image_pick_no_media').
[exec] res/layout/dcloud_image_pick_gallery_item.xml:14: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/dcloud_image_pick_mask').
[exec] res/layout/dcloud_loadingview.xml:7: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/dcloud_longding_bg').
[exec] res/layout/dcloud_loadingview.xml:15: error: Error: No resource found that matches the given name (at 'indeterminateDrawable' with value '@drawable/dcloud_snow_black_progress').
[exec] res/layout/dcloud_snow_black_progress.xml:8: error: Error: No resource found that matches the given name (at 'indeterminateDrawable' with value '@drawable/dcloud_snow_black_progress').
[exec] res/layout/dcloud_snow_white_progress.xml:8: error: Error: No resource found that matches the given name (at 'indeterminateDrawable' with value '@drawable/dcloud_snow_white_progress').
[exec] res/drawable/dcloud_slt_as_ios7_cancel_bt.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/dcloud_actionsheet_single_pressed').
[exec] res/drawable/dcloud_slt_as_ios7_cancel_bt.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/dcloud_actionsheet_single_normal').
[exec] res/drawable/dcloud_slt_as_ios7_other_bt_bottom.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/dcloud_actionsheet_bottom_pressed').
[exec] res/drawable/dcloud_slt_as_ios7_other_bt_bottom.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/dcloud_actionsheet_bottom_normal').
[exec] res/drawable/dcloud_slt_as_ios7_other_bt_middle.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/dcloud_actionsheet_middle_pressed').
[exec] res/drawable/dcloud_slt_as_ios7_other_bt_middle.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/dcloud_actionsheet_middle_normal').
[exec] res/drawable/dcloud_slt_as_ios7_other_bt_single.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/dcloud_actionsheet_single_pressed').
[exec] res/drawable/dcloud_slt_as_ios7_other_bt_single.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/dcloud_actionsheet_single_normal').
[exec] res/drawable/dcloud_slt_as_ios7_other_bt_title.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/dcloud_actionsheet_top_normal').
[exec] res/drawable/dcloud_slt_as_ios7_other_bt_title.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/dcloud_actionsheet_top_normal').
[exec] res/drawable/dcloud_slt_as_ios7_other_bt_top.xml:4: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/dcloud_actionsheet_top_pressed').
[exec] res/drawable/dcloud_slt_as_ios7_other_bt_top.xml:5: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/dcloud_actionsheet_top_normal').
[exec] res/drawable-hdpi/dcloud_snow_black_progress.xml:2: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/dcloud_snow_black').
[exec] res/drawable-hdpi/dcloud_snow_white_progress.xml:2: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/dcloud_snow_white').BUILD FAILED
安装包制作目录build.xml:250: The following error occurred while executing this line:
安装包制作目录build.xml:208: exec returned: 1

Total time: 45 seconds

2017-03-29 11:41 负责人:无 分享
已邀请:
BoredApe

BoredApe - 有问题就会有答案。

libpng error: Not a PNG file

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