v3有很多问号
v3有很多问号
  • 发布:2021-04-01 11:57
  • 更新:2021-04-01 21:15
  • 阅读:1478

今天安卓打包失败

分类:HBuilderX

今天打包报这个错误,前天还没有

Execution failed for task ':app:mergeReleaseResources'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource compilation failed
/home/[Name]/.gradle/caches/transforms-2/files-2.1/6ffdb73228a726886af7c7327321dbd0/lib.5plus.base-release/res/values-zh/values-zh.xml:18:5-112: AAPT: warn: multiple substitutions specified in non-positional format; did you mean to add the formatted=\"false\" attribute?.
[PackagePath]/app/res/values-zh/strings.xml:4:1-269: AAPT: error: unescaped apostrophe in string
[PackagePath]/app/res/values-zh/strings.xml:4:1-269: AAPT: error: not a valid string.
[PackagePath]/app/build/intermediates/incremental/mergeReleaseResources/merged.dir/values-zh/values-zh.xml: AAPT: error: file failed to compile.

链接:(https://service.dcloud.net.cn/build/errorLog/37cccbf0-9298-11eb-aabf-35f56b3e9eb9)

2021-04-01 11:57 负责人:无 分享
已邀请:

最佳回复

DCloud_App_Array

DCloud_App_Array

这是因为自定义隐私提示框内容中包含单引号导致,已兼容修复,重新提交云端打包即可。

风腾网络

风腾网络

HBuilderX回退到3.1.4就能正常打包了,大伙都被升级带到坑里去了

六界仙尊

六界仙尊

3.1.7的版本我也遇到这个问题了

  • v3有很多问号 (作者)

    第一个评论,我用3.1.4打也可以了

    2021-04-01 14:53

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