7***@qq.com
7***@qq.com
  • 发布:2021-08-31 08:58
  • 更新:2021-10-29 08:41
  • 阅读:381

安心打包失败 一直不行

分类:HBuilderX

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

[Info] I: Using Apktool 2.4.1 on UNI511150F_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 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/item/driver/unpackage/cache/wgt/UNI511150F/.manifest/icon-android-hdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/UNI511150F/packge_cache/NONE/UNI511150F_cm/res/drawable-hdpi/icon.png]...
[Info] copy file[C:/Users/Administrator/Desktop/item/driver/unpackage/cache/wgt/UNI511150F/.manifest/icon-android-hdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/UNI511150F/packge_cache/NONE/UNI511150F_cm/res/drawable-hdpi/icon.png] success.
[Info] begin copy file[C:/Users/Administrator/Desktop/item/driver/unpackage/cache/wgt/UNI511150F/.manifest/icon-android-xhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/UNI511150F/packge_cache/NONE/UNI511150F_cm/res/drawable-xhdpi/icon.png]...
[Info] copy file[C:/Users/Administrator/Desktop/item/driver/unpackage/cache/wgt/UNI511150F/.manifest/icon-android-xhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/UNI511150F/packge_cache/NONE/UNI511150F_cm/res/drawable-xhdpi/icon.png] success.
[Info] begin copy file[C:/Users/Administrator/Desktop/item/driver/unpackage/cache/wgt/UNI511150F/.manifest/icon-android-xxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/UNI511150F/packge_cache/NONE/UNI511150F_cm/res/drawable-xxhdpi/icon.png]...
[Info] copy file[C:/Users/Administrator/Desktop/item/driver/unpackage/cache/wgt/UNI511150F/.manifest/icon-android-xxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/UNI511150F/packge_cache/NONE/UNI511150F_cm/res/drawable-xxhdpi/icon.png] success.
[Info] begin copy file[C:/Users/Administrator/Desktop/item/driver/unpackage/cache/wgt/UNI511150F/.manifest/icon-android-xxxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/UNI511150F/packge_cache/NONE/UNI511150F_cm/res/drawable-xxxhdpi/icon.png]...
[Info] copy file[C:/Users/Administrator/Desktop/item/driver/unpackage/cache/wgt/UNI511150F/.manifest/icon-android-xxxhdpi.png] to [C:/Users/Administrator/AppData/Local/HBuilder X/UNI511150F/packge_cache/NONE/UNI511150F_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__UNI511150F\packge_cache__NONE__UNI511150F_cm classes.dex file...
[Info] I: Copying C:\Users\Administrator\AppData\Local\HBuilder X__UNI511150F\packge_cache__NONE__UNI511150F_cm classes2.dex file...
[Info] I: Checking whether resources has changed...
[Info] I: Building resources...
[Error] W: C:\Users\Administrator\AppData\Local\HBuilder X__UNI__511150F\packge_cache\
NONE\UNI__511150F_cm\AndroidManifest.xml:32: Tag <uses-permission> attribute name has invalid character ' '.
[Error] W: C:\Users\Administrator\AppData\Local\HBuilder X\
UNI__511150F\packge_cache\
NONE\UNI511150F_cm\AndroidManifest.xml:33: Tag <uses-permission> attribute name has invalid character ' '.
[Error] brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\ADMINI~1\AppData\Local\Temp\brut_util_Jar_8419796731552366115.tmp, p, --forced-package-id, 127, --min-sdk-version, 27, --target-sdk-version, 27, --version-code, 101, --version-name, 1.0.1, --no-version-vectors, -F, C:\Users\ADMINI~1\AppData\Local\Temp\APKTOOL1924739807602030754.tmp, -e, C:\Users\ADMINI~1\AppData\Local\Temp\APKTOOL9043708411722420030.tmp, -0, arsc, -I, C:\Users\Administrator\AppData\Local\apktool\framework\1.apk, -S, C:\Users\Administrator\AppData\Local\HBuilder X\
UNI__511150F\packge_cache\
NONE\UNI__511150F_cm\res, -M, C:\Users\Administrator\AppData\Local\HBuilder X\
UNI__511150F\packge_cache\
NONE\UNI__511150F_cm\AndroidManifest.xml]
[Error] Apk tool compile package to apk failed
[Error] 制作结果:Failed. Reason:

2021-08-31 08:58 负责人:DCloud_App_Array 分享
已邀请:
7***@qq.com

7***@qq.com (作者)

自顶

7***@qq.com

7***@qq.com (作者)

dddd

l***@yundun119.com

l***@yundun119.com

同问帮顶

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