It would seem that you are trying to use some Java dependency that is not configured for Android. Most likely, this is some kind of dependency that you just added. It could be for org.json:json , or it could be for something else that has a transitive dependency on org.json:json .
If you added a dependency on org.json:json yourself, just use a copy of those classes that are in the Android SDK.
If you added a dependency on something else, and that is what org.json:json requires, talk to the developers of the library you are trying to use and discuss with them how best to use this library on Android.
CommonsWare
source share