囿于江湖
囿于江湖
  • 发布:2023-07-11 17:23
  • 更新:2023-07-11 17:27
  • 阅读:306

打包报错这个是什么原因

分类:HBuilderX

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

[Info] I: Using Apktool 2.4.1 on UNI34A03A6_cm.apk
[Info] I: Loading resource table...
[Info] I: Decoding AndroidManifest.xml with resources...
[Info] I: Loading resource table from file: C:\Users\dongh-f\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] I: Copying META-INF/services directory
[Info] begin replace files to apk...
[Info] begin copy file[D:/work/all-in-one-project/web-project/digitalmonitor-app/unpackage/cache/wgt/UNI34A03A6/.manifest/icon-android-hdpi.png] to [C:/Users/dongh-f/AppData/Local/HBuilder X/UNI34A03A6/packge_cache/UNI34A03A6_cm/res/drawable-hdpi/icon.png]...
[Info] copy file[D:/work/all-in-one-project/web-project/digitalmonitor-app/unpackage/cache/wgt/UNI34A03A6/.manifest/icon-android-hdpi.png] to [C:/Users/dongh-f/AppData/Local/HBuilder X/UNI34A03A6/packge_cache/UNI34A03A6_cm/res/drawable-hdpi/icon.png] success.
[Info] begin copy file[D:/work/all-in-one-project/web-project/digitalmonitor-app/unpackage/cache/wgt/UNI34A03A6/.manifest/icon-android-xhdpi.png] to [C:/Users/dongh-f/AppData/Local/HBuilder X/UNI34A03A6/packge_cache/UNI34A03A6_cm/res/drawable-xhdpi/icon.png]...
[Info] copy file[D:/work/all-in-one-project/web-project/digitalmonitor-app/unpackage/cache/wgt/UNI34A03A6/.manifest/icon-android-xhdpi.png] to [C:/Users/dongh-f/AppData/Local/HBuilder X/UNI34A03A6/packge_cache/UNI34A03A6_cm/res/drawable-xhdpi/icon.png] success.
[Info] begin copy file[D:/work/all-in-one-project/web-project/digitalmonitor-app/unpackage/cache/wgt/UNI34A03A6/.manifest/icon-android-xxhdpi.png] to [C:/Users/dongh-f/AppData/Local/HBuilder X/UNI34A03A6/packge_cache/UNI34A03A6_cm/res/drawable-xxhdpi/icon.png]...
[Info] copy file[D:/work/all-in-one-project/web-project/digitalmonitor-app/unpackage/cache/wgt/UNI34A03A6/.manifest/icon-android-xxhdpi.png] to [C:/Users/dongh-f/AppData/Local/HBuilder X/UNI34A03A6/packge_cache/UNI34A03A6_cm/res/drawable-xxhdpi/icon.png] success.
[Info] begin copy file[D:/work/all-in-one-project/web-project/digitalmonitor-app/unpackage/cache/wgt/UNI34A03A6/.manifest/icon-android-xxxhdpi.png] to [C:/Users/dongh-f/AppData/Local/HBuilder X/UNI34A03A6/packge_cache/UNI34A03A6_cm/res/drawable-xxxhdpi/icon.png]...
[Info] copy file[D:/work/all-in-one-project/web-project/digitalmonitor-app/unpackage/cache/wgt/UNI34A03A6/.manifest/icon-android-xxxhdpi.png] to [C:/Users/dongh-f/AppData/Local/HBuilder X/UNI34A03A6/packge_cache/UNI34A03A6_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\dongh-f\AppData\Local\HBuilder X__UNI34A03A6\packge_cache__UNI34A03A6_cm classes.dex file...
[Info] I: Copying C:\Users\dongh-f\AppData\Local\HBuilder X__UNI34A03A6\packge_cache__UNI34A03A6_cm classes2.dex file...
[Info] I: Checking whether resources has changed...
[Info] I: Building resources...
[Error] W: C:\Users\dongh-f\AppData\Local\HBuilder X__UNI__34A03A6\packge_cache\
UNI34A03A6_cm\AndroidManifest.xml:54: error: No resource identifier found for attribute 'allowNativeHeapPointerTagging' in package 'android'
[Error] W:
[Error] brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\dongh-f\AppData\Local\Temp\brut_util_Jar_2003978777017875678.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 28, --version-code, 147, --version-name, 1.4.7, --no-version-vectors, -F, C:\Users\dongh-f\AppData\Local\Temp\APKTOOL8691929509638862547.tmp, -e, C:\Users\dongh-f\AppData\Local\Temp\APKTOOL6722790051346424175.tmp, -0, arsc, -I, C:\Users\dongh-f\AppData\Local\apktool\framework\1.apk, -S, C:\Users\dongh-f\AppData\Local\HBuilder X\
UNI__34A03A6\packge_cache\
UNI__34A03A6_cm\res, -M, C:\Users\dongh-f\AppData\Local\HBuilder X\
UNI__34A03A6\packge_cache\
UNI__34A03A6_cm\AndroidManifest.xml]
[Error] Apk tool compile package to apk failed
[Error] 制作结果:Failed. Reason:

2023-07-11 17:23 负责人:无 分享
已邀请:
Diligent_UI

Diligent_UI - 【插件开发】【专治疑难杂症】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=193663(微信搜索飘逸科技UI小程序直接体验)】【骗子请绕道】问题咨询请加QQ群:120594820,代表作灵感实用工具小程序

有没有什么原生组件

  • 囿于江湖 (作者)

    有,关于通话的 我已经把引入删除了 难道代码里也需要删除

    2023-07-11 17:28

  • Diligent_UI

    回复 囿于江湖: 看看配置哪里吧

    2023-07-11 17:43

FullStack

FullStack - 【插件开发】【专治疑难杂症】【ios上架、马甲包、白包、过审、已成功上架过几百个】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=22130】【非诚勿扰】QQ:543610866

安心打包?改为 传统打包

  • 囿于江湖 (作者)

    是安心打包,,这两个之间有什么区别呢 ,为什么不能用安心打包啊

    2023-07-11 17:30

  • 囿于江湖 (作者)

    对的,,,刚才查了下我有插件就得用传统打包 一语中的 我关注你了 大神

    2023-07-11 18:22

要回复问题请先登录注册