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:
z***@163.com (作者)
已解决
2022-09-20 11:10