日志报错
[Info] 正在制作apk安装包...
[Info] I: Using Apktool 2.4.1 on __UNI__C6E0DAF_cm.apk
[Info] I: Loading resource table...
[Info] I: Decoding AndroidManifest.xml with resources...
[Info] I: Loading resource table from file: C:\Users\Administrator\AppData\Local\HBuilder X\AndroidPackWork\apktool\1.apk
[Info] I: Regular manifest package...
[Info] I: Decoding file-resources...
[Info] I: Decoding values */* XMLs...
[Info] I: Copying raw classes.dex file...
[Info] I: Copying raw classes2.dex file...
[Info] I: Copying raw assets/39285EFA.dex file...
[Info] I: Copying assets and libs...
[Info] I: Copying unknown files...
[Info] I: Copying original files...
[Info] begin replace files to apk...
[Info] begin copy file[C:/Users/Administrator/Desktop/jtap_app/unpackage/cache/wgt/__UNI__C6E0DAF/.manifest/icon-android-hdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__C6E0DAF/packge_cache/__NONE__/__UNI__C6E0DAF_cm/res/drawable-hdpi/icon.png]...
[Info] copy file[C:/Users/Administrator/Desktop/jtap_app/unpackage/cache/wgt/__UNI__C6E0DAF/.manifest/icon-android-hdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__C6E0DAF/packge_cache/__NONE__/__UNI__C6E0DAF_cm/res/drawable-hdpi/icon.png] success.
[Info] begin copy file[C:/Users/Administrator/Desktop/jtap_app/unpackage/cache/wgt/__UNI__C6E0DAF/.manifest/icon-android-xhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__C6E0DAF/packge_cache/__NONE__/__UNI__C6E0DAF_cm/res/drawable-xhdpi/icon.png]...
[Info] copy file[C:/Users/Administrator/Desktop/jtap_app/unpackage/cache/wgt/__UNI__C6E0DAF/.manifest/icon-android-xhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__C6E0DAF/packge_cache/__NONE__/__UNI__C6E0DAF_cm/res/drawable-xhdpi/icon.png] success.
[Info] begin copy file[C:/Users/Administrator/Desktop/jtap_app/unpackage/cache/wgt/__UNI__C6E0DAF/.manifest/icon-android-xxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__C6E0DAF/packge_cache/__NONE__/__UNI__C6E0DAF_cm/res/drawable-xxhdpi/icon.png]...
[Info] copy file[C:/Users/Administrator/Desktop/jtap_app/unpackage/cache/wgt/__UNI__C6E0DAF/.manifest/icon-android-xxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__C6E0DAF/packge_cache/__NONE__/__UNI__C6E0DAF_cm/res/drawable-xxhdpi/icon.png] success.
[Info] begin copy file[C:/Users/Administrator/Desktop/jtap_app/unpackage/cache/wgt/__UNI__C6E0DAF/.manifest/icon-android-xxxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__C6E0DAF/packge_cache/__NONE__/__UNI__C6E0DAF_cm/res/drawable-xxxhdpi/icon.png]...
[Info] copy file[C:/Users/Administrator/Desktop/jtap_app/unpackage/cache/wgt/__UNI__C6E0DAF/.manifest/icon-android-xxxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__C6E0DAF/packge_cache/__NONE__/__UNI__C6E0DAF_cm/res/drawable-xxxhdpi/icon.png] success.
[Info] begin copy file[C:/Users/Administrator/Desktop/jtap_app/unpackage/cache/wgt/__UNI__C6E0DAF/.manifest/splash-android-hdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__C6E0DAF/packge_cache/__NONE__/__UNI__C6E0DAF_cm/res/drawable-hdpi/splash.png]...
[Info] copy file[C:/Users/Administrator/Desktop/jtap_app/unpackage/cache/wgt/__UNI__C6E0DAF/.manifest/splash-android-hdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__C6E0DAF/packge_cache/__NONE__/__UNI__C6E0DAF_cm/res/drawable-hdpi/splash.png] success.
[Info] begin copy file[C:/Users/Administrator/Desktop/jtap_app/unpackage/cache/wgt/__UNI__C6E0DAF/.manifest/splash-android-xhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__C6E0DAF/packge_cache/__NONE__/__UNI__C6E0DAF_cm/res/drawable-xhdpi/splash.png]...
[Info] copy file[C:/Users/Administrator/Desktop/jtap_app/unpackage/cache/wgt/__UNI__C6E0DAF/.manifest/splash-android-xhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__C6E0DAF/packge_cache/__NONE__/__UNI__C6E0DAF_cm/res/drawable-xhdpi/splash.png] success.
[Info] begin copy file[C:/Users/Administrator/Desktop/jtap_app/unpackage/cache/wgt/__UNI__C6E0DAF/.manifest/splash-android-xxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__C6E0DAF/packge_cache/__NONE__/__UNI__C6E0DAF_cm/res/drawable-xxhdpi/splash.png]...
[Info] copy file[C:/Users/Administrator/Desktop/jtap_app/unpackage/cache/wgt/__UNI__C6E0DAF/.manifest/splash-android-xxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__C6E0DAF/packge_cache/__NONE__/__UNI__C6E0DAF_cm/res/drawable-xxhdpi/splash.png] success.
[Info] begin update files to apk...
[Error] try compile package:0
[Info] I: Using Apktool 2.4.1
[Info] I: Copying C:\Users\Administrator\AppData\Local\HBuilder X\AndroidPackWork\cache\__UNI__C6E0DAF\packge_cache\__NONE__\__UNI__C6E0DAF_cm classes.dex file...
[Info] I: Copying C:\Users\Administrator\AppData\Local\HBuilder X\AndroidPackWork\cache\__UNI__C6E0DAF\packge_cache\__NONE__\__UNI__C6E0DAF_cm classes2.dex file...
[Info] I: Checking whether resources has changed...
[Info] I: Building resources...
[Error] W: C:\Users\Administrator\AppData\Local\HBuilder X\AndroidPackWork\cache\__UNI__C6E0DAF\packge_cache\__NONE__\__UNI__C6E0DAF_cm\AndroidManifest.xml:47: Tag <action> attribute name has invalid character '*'.
[Error] brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Administrator\AppData\Local\Temp\brut_util_Jar_12973121777679355473.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 28, --version-code, 108, --version-name, 1.0.8, --no-version-vectors, -F, C:\Users\Administrator\AppData\Local\Temp\APKTOOL3139153468256355035.tmp, -e, C:\Users\Administrator\AppData\Local\Temp\APKTOOL13789282158057176812.tmp, -0, arsc, -I, C:\Users\Administrator\AppData\Local\HBuilder X\AndroidPackWork\apktool\1.apk, -S, C:\Users\Administrator\AppData\Local\HBuilder X\AndroidPackWork\cache\__UNI__C6E0DAF\packge_cache\__NONE__\__UNI__C6E0DAF_cm\res, -M, C:\Users\Administrator\AppData\Local\HBuilder X\AndroidPackWork\cache\__UNI__C6E0DAF\packge_cache\__NONE__\__UNI__C6E0DAF_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\Administrator\AppData\Local\HBuilder X\AndroidPackWork\cache\__UNI__C6E0DAF\packge_cache\__NONE__\__UNI__C6E0DAF_cm\AndroidManifest.xml:47: Tag <action> attribute name has invalid character '*'.
[Error] brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Administrator\AppData\Local\Temp\brut_util_Jar_15898380957617360706.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 28, --version-code, 108, --version-name, 1.0.8, --no-version-vectors, -F, C:\Users\Administrator\AppData\Local\Temp\APKTOOL13230849226732625725.tmp, -e, C:\Users\Administrator\AppData\Local\Temp\APKTOOL1400677727567068865.tmp, -0, arsc, -I, C:\Users\Administrator\AppData\Local\HBuilder X\AndroidPackWork\apktool\1.apk, -S, C:\Users\Administrator\AppData\Local\HBuilder X\AndroidPackWork\cache\__UNI__C6E0DAF\packge_cache\__NONE__\__UNI__C6E0DAF_cm\res, -M, C:\Users\Administrator\AppData\Local\HBuilder X\AndroidPackWork\cache\__UNI__C6E0DAF\packge_cache\__NONE__\__UNI__C6E0DAF_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\Administrator\AppData\Local\HBuilder X\AndroidPackWork\cache\__UNI__C6E0DAF\packge_cache\__NONE__\__UNI__C6E0DAF_cm\AndroidManifest.xml:47: Tag <action> attribute name has invalid character '*'.
[Error] brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\Administrator\AppData\Local\Temp\brut_util_Jar_170462516773119685.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 28, --version-code, 108, --version-name, 1.0.8, --no-version-vectors, -F, C:\Users\Administrator\AppData\Local\Temp\APKTOOL8801620605654230410.tmp, -e, C:\Users\Administrator\AppData\Local\Temp\APKTOOL6402401920547175445.tmp, -0, arsc, -I, C:\Users\Administrator\AppData\Local\HBuilder X\AndroidPackWork\apktool\1.apk, -S, C:\Users\Administrator\AppData\Local\HBuilder X\AndroidPackWork\cache\__UNI__C6E0DAF\packge_cache\__NONE__\__UNI__C6E0DAF_cm\res, -M, C:\Users\Administrator\AppData\Local\HBuilder X\AndroidPackWork\cache\__UNI__C6E0DAF\packge_cache\__NONE__\__UNI__C6E0DAF_cm\AndroidManifest.xml]
[Error] Apk tool compile package to apk failed
[Error] 制作结果:Failed. Reason:
2 个回复
小文子
去掉支付模块,或者使用传统打包。
DCloud_HB_HXY
发一下QQ 或者加群 827137391