h***@qq.com
h***@qq.com
  • 发布:2019-05-16 11:00
  • 更新:2020-07-08 16:04
  • 阅读:934

直接从线上复制的看图APP模板,稍微修改后进行云打包 死活报以下错误

分类:HBuilder

Appid: UNIC27C498

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':mergeReleaseResources'.
    > java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource compilation failed
    Output: error: top-left corner pixel must be either opaque white or transparent.

Command: /home/pandora/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-linux.jar/89e782d231b90e67452f66f10260354f/aapt2-3.2.1-4818971-linux/aapt2 compile --legacy \
-o \
安装包制作目录/build/intermediates/res/merged/release \
安装包制作目录/res/drawable-hdpi/splash.9.png
Daemon: AAPT2 aapt2-3.2.1-4818971-linux Daemon #0

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 19s

2019-05-16 11:00 负责人:无 分享
已邀请:
九涯

九涯 - 一个90后正在编程路上摸爬滚打的青年

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