打包
- 发布:2022-08-25 11:44
- 更新:2022-08-25 11:44
- 阅读:292
产品分类: HbuilderX
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: Windows 11 专业工作站版(21H2) 22000.856
HBuilderX版本号: 3.5.3
操作步骤:
预期结果:
正常打包
正常打包
实际结果:
不正常
不正常
bug描述:
使用本地和云打包,报错:
[Info] 正在制作apk安装包...
[Info] Error occurred during initialization of VM
[Info] java/lang/NoClassDefFoundError: java/lang/Object
[Info] begin replace files to apk...
[Info] begin copy file[D:/workdir/lawyer_app/unpackage/cache/wgt/__UNI__9D0F43E/.manifest/icon-android-hdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__9D0F43E/packge_cache/__NONE__/__UNI__9D0F43E_cm/res/drawable-hdpi/icon.png]...
[Info] copy file[D:/workdir/lawyer_app/unpackage/cache/wgt/__UNI__9D0F43E/.manifest/icon-android-hdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__9D0F43E/packge_cache/__NONE__/__UNI__9D0F43E_cm/res/drawable-hdpi/icon.png] success.
[Info] begin copy file[D:/workdir/lawyer_app/unpackage/cache/wgt/__UNI__9D0F43E/.manifest/icon-android-xhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__9D0F43E/packge_cache/__NONE__/__UNI__9D0F43E_cm/res/drawable-xhdpi/icon.png]...
[Info] copy file[D:/workdir/lawyer_app/unpackage/cache/wgt/__UNI__9D0F43E/.manifest/icon-android-xhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__9D0F43E/packge_cache/__NONE__/__UNI__9D0F43E_cm/res/drawable-xhdpi/icon.png] success.
[Info] begin copy file[D:/workdir/lawyer_app/unpackage/cache/wgt/__UNI__9D0F43E/.manifest/icon-android-xxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__9D0F43E/packge_cache/__NONE__/__UNI__9D0F43E_cm/res/drawable-xxhdpi/icon.png]...
[Info] copy file[D:/workdir/lawyer_app/unpackage/cache/wgt/__UNI__9D0F43E/.manifest/icon-android-xxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__9D0F43E/packge_cache/__NONE__/__UNI__9D0F43E_cm/res/drawable-xxhdpi/icon.png] success.
[Info] begin copy file[D:/workdir/lawyer_app/unpackage/cache/wgt/__UNI__9D0F43E/.manifest/icon-android-xxxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__9D0F43E/packge_cache/__NONE__/__UNI__9D0F43E_cm/res/drawable-xxxhdpi/icon.png]...
[Info] copy file[D:/workdir/lawyer_app/unpackage/cache/wgt/__UNI__9D0F43E/.manifest/icon-android-xxxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__9D0F43E/packge_cache/__NONE__/__UNI__9D0F43E_cm/res/drawable-xxxhdpi/icon.png] success.
[Info] begin update files to apk...
[Error] try compile package:0
[Info] Error occurred during initialization of VM
[Info] java/lang/NoClassDefFoundError: java/lang/Object
[Info] begin zipalign apk:C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__9D0F43E/packge_cache/__NONE__/release/apk/__UNI__9D0F43E_nosign.apk
[Error] Unable to open 'C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/__UNI__9D0F43E/packge_cache/__NONE__/release/apk/__UNI__9D0F43E_nosign.apk' as zip archive
[Error] Apk zipalign failed
[Error] 制作结果:Failed. Reason:
0 个回复