gpt4 book ai didi

java - 依赖 org.json :json:20090211 is ignored for debug as it may be conflicting with the internal version provided by Android

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:27:25 24 4
gpt4 key购买 nike

当我运行android studio时,出现以下警告:

Dependency org.json:json:20090211 is ignored for debug as it may be conflicting with the internal version provided by Android. In case of problem, please repackage with jarjar to change the class packages

我该如何解决这个错误?

谢谢。

最佳答案

CommonsWare 的回答是正确的。依赖 org.json:json:20090211 被调试忽略,因为它可能与 Android 提供的内部版本冲突。

如果您使用的是 gradle 依赖项,请尝试从包中排除 org.json。

compile ('com.your.dependency.name:0.0.0'){
exclude group: 'org.json', module: 'json'
}

这个对我有用。

关于java - 依赖 org.json :json:20090211 is ignored for debug as it may be conflicting with the internal version provided by Android,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32921328/

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