z***@163.com
z***@163.com
  • 发布:2022-09-20 10:00
  • 更新:2022-09-20 11:09
  • 阅读:590

HbuilderX3.6.2和3.6.3安心打包失败

分类:HBuilderX

HbuilderX3.6.2以前没问题,升级后,这几天测试,安心打包一直失败

错误日志

[Info] I: Building resources...
[Error] W: C:\Users\zhaojingru\AppData\Local\HBuilder X\AndroidPackWork\cache__UNI592B270\packge_cache__NONE__UNI592B270_cm\AndroidManifest.xml:40: Tag <action> attribute name has invalid character ''.
[Error] brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\ZHAOJI~1\AppData\Local\Temp\brut_util_Jar_6593887023661234845.tmp, p, --forced-package-id, 127, --min-sdk-version, 20, --target-sdk-version, 28, --version-code, 116, --version-name, 1.1.6, --no-version-vectors, -F, C:\Users\ZHAOJI~1\AppData\Local\Temp\APKTOOL4719446964406921914.tmp, -e, C:\Users\ZHAOJI~1\AppData\Local\Temp\APKTOOL1073066018805435840.tmp, -0, arsc, -I, C:\Users\zhaojingru\AppData\Local\HBuilder X\AndroidPackWork\apktool\1.apk, -S, C:\Users\zhaojingru\AppData\Local\HBuilder X\AndroidPackWork\cache__UNI592B270\packge_cache__NONE__UNI592B270_cm\res, -M, C:\Users\zhaojingru\AppData\Local\HBuilder X\AndroidPackWork\cache__UNI__592B270\packge_cache\NONE\UNI__592B270_cm\AndroidManifest.xml]
[Error] try compile package:1
[Info] I: Using Apktool 2.4.1
[Info] I: Checking whether resources has changed...
[Info] I: Building resources...
[Error] W: C:\Users\zhaojingru\AppData\Local\HBuilder X\AndroidPackWork\cache\
UNI__592B270\packge_cache\
NONE\UNI__592B270_cm\AndroidManifest.xml:40: Tag <action> attribute name has invalid character '
'.
[Error] brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\ZHAOJI~1\AppData\Local\Temp\brut_util_Jar_9623021984665618530.tmp, p, --forced-package-id, 127, --min-sdk-version, 20, --target-sdk-version, 28, --version-code, 116, --version-name, 1.1.6, --no-version-vectors, -F, C:\Users\ZHAOJI~1\AppData\Local\Temp\APKTOOL1777918757670766904.tmp, -e, C:\Users\ZHAOJI~1\AppData\Local\Temp\APKTOOL13482171845862063557.tmp, -0, arsc, -I, C:\Users\zhaojingru\AppData\Local\HBuilder X\AndroidPackWork\apktool\1.apk, -S, C:\Users\zhaojingru\AppData\Local\HBuilder X\AndroidPackWork\cache__UNI592B270\packge_cache__NONE__UNI592B270_cm\res, -M, C:\Users\zhaojingru\AppData\Local\HBuilder X\AndroidPackWork\cache__UNI__592B270\packge_cache\NONE\UNI__592B270_cm\AndroidManifest.xml]
[Error] try compile package:2
[Info] I: Using Apktool 2.4.1
[Info] I: Checking whether resources has changed...
[Info] I: Building resources...
[Error] W: C:\Users\zhaojingru\AppData\Local\HBuilder X\AndroidPackWork\cache\
UNI__592B270\packge_cache\
NONE\UNI592B270_cm\AndroidManifest.xml:40: Tag <action> attribute name has invalid character '*'.
[Error] brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\ZHAOJI~1\AppData\Local\Temp\brut_util_Jar_15968279109174025801.tmp, p, --forced-package-id, 127, --min-sdk-version, 20, --target-sdk-version, 28, --version-code, 116, --version-name, 1.1.6, --no-version-vectors, -F, C:\Users\ZHAOJI~1\AppData\Local\Temp\APKTOOL15648147837776663865.tmp, -e, C:\Users\ZHAOJI~1\AppData\Local\Temp\APKTOOL16113702343974300796.tmp, -0, arsc, -I, C:\Users\zhaojingru\AppData\Local\HBuilder X\AndroidPackWork\apktool\1.apk, -S, C:\Users\zhaojingru\AppData\Local\HBuilder X\AndroidPackWork\cache\
UNI__592B270\packge_cache\
NONE\UNI__592B270_cm\res, -M, C:\Users\zhaojingru\AppData\Local\HBuilder X\AndroidPackWork\cache\
UNI__592B270\packge_cache\
NONE\UNI__592B270_cm\AndroidManifest.xml]
[Error] Apk tool compile package to apk failed
[Error] 制作结果:Failed. Reason:

2022-09-20 10:00 负责人:无 分享
已邀请:
DCloud_HB_WDL

DCloud_HB_WDL

  1. 关闭HBuilderX,重启
  2. 菜单【工具】【插件安装】,App云打包插件,将此插件卸载。然后再次提交打包,会重新安装云打包插件。
z***@163.com

z***@163.com (作者)

问题已解决
参考:https://ask.dcloud.net.cn/question/153707

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