开发者M_少
开发者M_少
  • 发布:2021-12-30 11:28
  • 更新:2021-12-30 12:44
  • 阅读:596

安心打包,安装包生成失败?这是什么原因啊

分类:uni-app

[Info] 正在制作apk安装包...

[Info] I: Using Apktool 2.4.1 on UNIE760B7_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 classes3.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[D:/xmy项目文件/app项目代码/zhong_lian_app/unpackage/cache/wgt/UNIE760B7/.manifest/icon-android-hdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/UNIE760B7/packge_cache/NONE/UNIE760B7_cm/res/drawable-hdpi/icon.png]...
[Info] copy file[D:/xmy项目文件/app项目代码/zhong_lian_app/unpackage/cache/wgt/UNIE760B7/.manifest/icon-android-hdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/UNIE760B7/packge_cache/NONE/UNIE760B7_cm/res/drawable-hdpi/icon.png] success.
[Info] begin copy file[D:/xmy项目文件/app项目代码/zhong_lian_app/unpackage/cache/wgt/UNI9E760B7/.manifest/icon-android-xhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/UNIE760B7/packge_cache/NONE/UNIE760B7_cm/res/drawable-xhdpi/icon.png]...
[Info] copy file[D:/xmy项目文件/app项目代码/zhong_lian_app/unpackage/cache/wgt/UNI9E760B7/.manifest/icon-android-xhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/UNIE760B7/packge_cache/NONE/UNIE760B7_cm/res/drawable-xhdpi/icon.png] success.
[Info] begin copy file[D:/xmy项目文件/app项目代码/zhong_lian_app/unpackage/cache/wgt/UNI9E760B7/.manifest/icon-android-xxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/UNIE760B7/packge_cache/NONE/UNIE760B7_cm/res/drawable-xxhdpi/icon.png]...
[Info] copy file[D:/xmy项目文件/app项目代码/zhong_lian_app/unpackage/cache/wgt/UNI9E760B7/.manifest/icon-android-xxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/UNIE760B7/packge_cache/NONE/UNIE760B7_cm/res/drawable-xxhdpi/icon.png] success.
[Info] begin copy file[D:/xmy项目文件/app项目代码/zhong_lian_app/unpackage/cache/wgt/UNI9E760B7/.manifest/icon-android-xxxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/UNIE760B7/packge_cache/NONE/UNIE760B7_cm/res/drawable-xxxhdpi/icon.png]...
[Info] copy file[D:/xmy项目文件/app项目代码/zhong_lian_app/unpackage/cache/wgt/UNI9E760B7/.manifest/icon-android-xxxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/AndroidPackWork/cache/UNIE760B7/packge_cache/NONE/UNIE760B7_cm/res/drawable-xxxhdpi/icon.png] success.
[Info] begin update files to apk...
[Info] I: Using Apktool 2.4.1
[Info] I: Copying C:\Users\Administrator\AppData\Local\HBuilder X\AndroidPackWork\cache__UNIE760B7\packge_cache__NONE__UNIE760B7_cm classes.dex file...
[Info] I: Copying C:\Users\Administrator\AppData\Local\HBuilder X\AndroidPackWork\cache__UNI__E760B7\packge_cache\
NONE\UNI__E760B7_cm classes2.dex file...
[Info] I: Copying C:\Users\Administrator\AppData\Local\HBuilder X\AndroidPackWork\cache\
UNI__E760B7\packge_cache\
NONE\UNI__E760B7_cm classes3.dex file...
[Info] I: Checking whether resources has changed...
[Info] I: Building resources...
[Error] W: fakeLogOpen(/dev/log_crash) failed
[Error] W: fakeLogOpen(/dev/log_crash) failed
[Error] W: fakeLogOpen(/dev/log_stats) failed
[Error] W: fakeLogOpen(/dev/log_stats) failed
[Info] I: Copying libs... (/lib)
[Info] I: Copying libs... (/kotlin)
[Info] I: Building apk file...
[Info] I: Copying unknown files/dir...
[Info] I: Built apk...
[Error] Apk tool compile package to apk failed
[Error] 制作结果:Failed. Reason:

2021-12-30 11:28 负责人:DCloud_HB_WKP 分享
已邀请:
DCloud_HB_WDL

DCloud_HB_WDL

试下删除项目目录下unpackage/dist文件夹,重启HX后在打包,如果还有问题可加QQ群:827137391 找管理

要回复问题请先登录注册