求助:使用volley的JsonArrayRequest的时候报错
跑步_跑步 2015-05-28 02:59:02 org.json.JSONException: Value  of type java.lang.String cannot be converted to JSONArray
com.android.volley.ParseError: org.json.JSONException: Value  of type java.lang.String cannot be converted to JSONArray
at com.android.volley.toolbox.JsonArrayRequest.parseNetworkResponse(JsonArrayRequest.java:55)
at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:116)
Cause java.lang.String cannot be converted to JSONArray
at org.json.JSON.typeMismatch(JSON.java:111)
at org.json.JSONArray.<init>(JSONArray.java:91)
at org.json.JSONArray.<init>(JSONArray.java:103)
at com.android.volley.toolbox.JsonArrayRequest.parseNetworkResponse(JsonArrayRequest.java:50)
... 1 more
不知道是什么原因,难道是服务器的json数据不对吗
我如果使用URLConnection去请求数据解析的时候,就没问题,能正常解析到?有没有谁碰到过类似的问题呢?
难道我要放弃使用volley了。。。