[Info] 正在制作apk安装包...
[Info] I: Using Apktool 2.4.1 on UNIB039021_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\apktool\framework\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 assets and libs...
[Info] I: Copying unknown files...
[Info] I: Copying original files...
[Info] begin replace files to apk...
[Info] begin copy file[F:/app/kaoxiang/unpackage/cache/wgt/UNIB039021/.manifest/icon-android-hdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/UNIB039021/packge_cache/NONE/UNIB039021_cm/res/drawable-hdpi/icon.png]...
[Info] copy file[F:/app/kaoxiang/unpackage/cache/wgt/UNIB039021/.manifest/icon-android-hdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/UNIB039021/packge_cache/NONE/UNIB039021_cm/res/drawable-hdpi/icon.png] success.
[Info] begin copy file[F:/app/kaoxiang/unpackage/cache/wgt/UNIB039021/.manifest/icon-android-xhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/UNIB039021/packge_cache/NONE/UNIB039021_cm/res/drawable-xhdpi/icon.png]...
[Info] copy file[F:/app/kaoxiang/unpackage/cache/wgt/UNIB039021/.manifest/icon-android-xhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/UNIB039021/packge_cache/NONE/UNIB039021_cm/res/drawable-xhdpi/icon.png] success.
[Info] begin copy file[F:/app/kaoxiang/unpackage/cache/wgt/UNIB039021/.manifest/icon-android-xxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/UNIB039021/packge_cache/NONE/UNIB039021_cm/res/drawable-xxhdpi/icon.png]...
[Info] copy file[F:/app/kaoxiang/unpackage/cache/wgt/UNIB039021/.manifest/icon-android-xxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/UNIB039021/packge_cache/NONE/UNIB039021_cm/res/drawable-xxhdpi/icon.png] success.
[Info] begin copy file[F:/app/kaoxiang/unpackage/cache/wgt/UNIB039021/.manifest/icon-android-xxxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/UNIB039021/packge_cache/NONE/UNIB039021_cm/res/drawable-xxxhdpi/icon.png]...
[Info] copy file[F:/app/kaoxiang/unpackage/cache/wgt/UNIB039021/.manifest/icon-android-xxxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/UNIB039021/packge_cache/NONE/UNIB039021_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__UNI__B039021\packge_cache__NONE\UNI__B039021_cm classes.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: Building apk file...
[Info] I: Copying unknown files/dir...
[Info] I: Built apk...
[Error] Apk tool compile package to apk failed
[Error] 制作结果:Failed. Reason:
4 个回复
9***@qq.com
请问解决了吗,一样的问题
一个人的江湖
同问,解决了吗
小白One - 聚农
同问,怎么解决的啊
p***@qq.com
同上
DCloud_HB_WDL
参考:https://hx.dcloud.net.cn/Tutorial/App/SafePack
2022-03-09 11:41