DavidWebb icon indicating copy to clipboard operation
DavidWebb copied to clipboard

Gradle build warning

Open MrBrightside29 opened this issue 10 years ago • 2 comments

Hi,

In Android Studio, when gradle is built, shows these warnings:

Warning:Dependency org.json:json:20080701 is ignored for debug as it may be conflicting with the internal version provided by Android. Warning:Dependency org.json:json:20080701 is ignored for release as it may be conflicting with the internal version provided by Android.

MrBrightside29 avatar Jun 28 '14 19:06 MrBrightside29

I'll test the impact (especially for non-Android environments) when changing this dependency to provided.

@MrBrightside29 have you encountered any problems besides this warning?

AFAIK Android has an optimized version of org.json which is API compatible with org.json:json:20080701.

hgoebl avatar Jun 28 '14 20:06 hgoebl

No problems at all. The project compiles and runs just fine.

MrBrightside29 avatar Jun 28 '14 22:06 MrBrightside29