tal*_*a06 5 java android json android-json
我得到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");
Run Code Online (Sandbox Code Playgroud)