当我java.lang.RuntimeException: Stub!
尝试解析String
到org.json.JSONObject
. 我的Android API 版本是19。
这是我String
要解析的:
{
"url": "http://www.google.com",
"cookie": "012121",
"filename": "Google"
}
JSONObject jsonObject = new JSONObject(str); // getting exception at this line
String url = jsonObject.getString("url");