I get an exception java.lang.RuntimeException: Stub!when I try to parse Stringon org.json.JSONObject. My version of Android is 19 .
Here is my analysis String:
{
"url": "http://www.google.com",
"cookie": "012121",
"filename": "Google"
}
JSONObject jsonObject = new JSONObject(str);
String url = jsonObject.getString("url");
source
share