我在Android Studio中收到以下警告:
Warning:Dependency org.json:json:20140107 is ignored for release 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
我无法删除这个依赖,因为我在一个依赖项目中使用它。
我该如何在Android Studio中抑制上述Gradle警告?
org.json:json
,因为你没有使用它。Android拥有自己的org.json:json
,它具有相同的类和包名称。 - Jared Burrows