I have an issue where I am using import org.json.JSONObject;
and using the constructor new JSONObject(Object)
which in this case is an inputstream.
Eclipse has no issue with this, but AndroidStudio/IntelliJ only tells me that "constructor JSONObject(inputstream) does not exist`. And when I open the declaration of org.json.JSONObject in Android Studio, I do not see JSONObject(Object) constructor, yet this simply exists when used in Eclipse.
How to fix for Android Studio?
insight appreciated....