问题描述
更新后的版本 3.6.3.20220917 打包安卓app失败
原生app云打包
[Error] brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/var/folders/0s/4_my_n8s3vn286n1y4_6fwv40000gp/T/brut_util_Jar_17590273244063900628.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 28, --version-code, 120, --version-name, 1.0.0, --no-version-vectors, -F, /var/folders/0s/4_my_n8s3vn286n1y4_6fwv40000gp/T/APKTOOL17574152097608786508.tmp, -e, /var/folders/0s/4_my_n8s3vn286n1y4_6fwv40000gp/T/APKTOOL13304183256978884778.tmp, -0, arsc, -I, /Users/aaa/Library/apktool/framework/1.apk, -S, /Users/aaa/Library/Application Support/HBuilder X/__UNI__0759F20/packge_cache/NONE/__UNI__0759F20_cm/res, -M, /Users/aaa/Library/Application Support/HBuilder X/__UNI__0759F20/packge_cache/NONE/__UNI__0759F20_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: /Users/aaa/Library/Application Support/HBuilder X/__UNI__0759F20/packge_cache/NONE/__UNI__0759F20_cm/AndroidManifest.xml:43: Tag attribute name has invalid character '*'.
[Error] brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/var/folders/0s/4_my_n8s3vn286n1y4_6fwv40000gp/T/brut_util_Jar_12194685211037943777.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 28, --version-code, 120, --version-name, 1.0.0, --no-version-vectors, -F, /var/folders/0s/4_my_n8s3vn286n1y4_6fwv40000gp/T/APKTOOL3613900206853879665.tmp, -e, /var/folders/0s/4_my_n8s3vn286n1y4_6fwv40000gp/T/APKTOOL15812139055037700420.tmp, -0, arsc, -I, /Users/aaa/Library/apktool/framework/1.apk, -S, /Users/aaa/Library/Application Support/HBuilder X/__UNI__0759F20/packge_cache/NONE/__UNI__0759F20_cm/res, -M, /Users/aaa/Library/Application Support/HBuilder X/__UNI__0759F20/packge_cache/NONE/__UNI__0759F20_cm/AndroidManifest.xml]
[Error] Apk tool compile package to apk failed
[Error] 制作结果:Failed. Reason:
1条答案
按热度按时间cwxwcias1#
请参考: https://ask.dcloud.net.cn/question/153707