gpt4 book ai didi

java - 错误 : Execution failed for task ':app:shrinkReleaseMultiDexComponents'

转载 作者:塔克拉玛干 更新时间:2023-11-02 21:37:30 26 4
gpt4 key购买 nike

我正在尝试生成一个 APK 以便在 Google 商店中发布,但我收到以下错误:

Error:Execution failed for task
':app:shrinkReleaseMultiDexComponents'. java.io.IOException: The output jar
[/home/nome/Projects/app-android/app/_app/build/intermediates/multi-dex/release/componentClasses.jar]
must be specified after an input jar, or it will be empty.

我该如何解决这个问题?

最佳答案

这看起来像是 Progaurd 的问题。

根据下面的这些链接,某些 Progaurd 配置以及启用的 multidex 似乎可以返回此错误。您可以尝试禁用 Progaurd 吗?

Android Build with Gradle and ProGuard : "The output jar must be specified after an input jar, or it will be empty"

Android multidex not supporting with proguard

https://groups.google.com/forum/#!topic/adt-dev/qU0Me1_2HF8

关于java - 错误 : Execution failed for task ':app:shrinkReleaseMultiDexComponents' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33489301/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com