1***@qq.com
1***@qq.com
  • 发布:2022-09-16 15:08
  • 更新:2022-09-19 15:40
  • 阅读:288

【报Bug】HBuilder X 3.6.2 BUG

分类:HBuilderX

产品分类: HbuilderX

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: Windows10

HBuilderX版本号: 3.6.2

示例代码:

日志报错

[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:   

操作步骤:

点击打包发行

预期结果:

正常打包 安装到本地

实际结果:

[HBuilder] 15:01:45.124 本地安装包生成失败,请重试或者切换到非安心打包模式进行打包 查看错误日志

bug描述:

云打包一直报 本地安装包生成失败,请重试或者切换到非安心打包模式进行打
切回上一个版本正常打包

2022-09-16 15:08 负责人:无 分享
已邀请:
小文子

小文子

去掉支付模块,或者使用传统打包。

DCloud_HB_HXY

DCloud_HB_HXY

发一下QQ 或者加群 827137391

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