4***@qq.com
4***@qq.com
  • 发布:2020-10-12 12:34
  • 更新:2023-03-28 11:18
  • 阅读:3756

打包生成APP总是报这个错误

分类:HBuilder

我是WIN7系统

[打包工具] 12:26:33.636 打包出错:Error: Command failed: "E:\1app\tools\HBuilderX\plugins\acc\jre\bin\java" -jar -Duser.language=en -Dfile.encoding=UTF8 "E:\1app\tools\HBuilderX\plugins\acc\jre\bin\apktool.jar" b "E:\1app\tools\HBuilderX\plugins\acc\jre\bin\tem" -o "E:\1app\tools\HBuilderX\plugins\acc\jre\bin\tem\android_debug.apk"
W: fakeLogOpen(/dev/log_crash) failed
W: fakeLogOpen(/dev/log_stats) failed
W: fakeLogOpen(/dev/log_stats) failed
W: E:\1app\tools\HBuilderX\plugins\acc\jre\bin\tem\AndroidManifest.xml:1: error: No resource identifier found for attribute 'compileSdkVersion' in package 'android'
W:
W: E:\1app\tools\HBuilderX\plugins\acc\jre\bin\tem\AndroidManifest.xml:1: error: No resource identifier found for attribute 'compileSdkVersionCodename' in package 'android'
W:
W: E:\1app\tools\HBuilderX\plugins\acc\jre\bin\tem\AndroidManifest.xml:209: error: No resource identifier found for attribute 'appComponentFactory' in package 'android'
W:
W: E:\1app\tools\HBuilderX\plugins\acc\jre\bin\tem\AndroidManifest.xml:227: error: No resource identifier found for attribute 'foregroundServiceType' in package 'android'
W:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\ADMINI~1\AppData\Local\Temp\brut_util_Jar_5084755787472276176.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 29, --version-code, 1, --version-name, 1.0, --no-version-vectors, -F, C:\Users\ADMINI~1\AppData\Local\Temp\APKTOOL2347450875381341579.tmp, -e, C:\Users\ADMINI~1\AppData\Local\Temp\APKTOOL5743906883650673544.tmp, -0, arsc, -I, C:\Users\Administrator\AppData\Local\apktool\framework\1.apk, -S, E:\1app\tools\HBuilderX\plugins\acc\jre\bin\tem\res, -M, E:\1app\tools\HBuilderX\plugins\acc\jre\bin\tem\AndroidManifest.xml]

2020-10-12 12:34 负责人:无 分享
已邀请:
zjiayingok

zjiayingok - 托马斯的小火车

解决了吗

要回复问题请先登录注册