→ jasoncph: 可以去把volley error 的東西印出來看,或做handle 11/21 03:06
啊 可能我問題沒問很好 我想問為什麼是直接到volley error 是我的判斷那邊做錯了嗎?
※ 編輯: daniel88520 (36.229.33.15), 11/21/2018 03:10:41
→ jasoncph: 直接到volley error那邊應該是server request有error , 11/21 09:26
那我這樣的寫法看上去是有錯的嗎
→ jasoncph: 所以沒有response 直接到error 11/21 09:26
→ LZN: 為啥不印出error的訊息來看? 11/21 09:52
印出來是....logcat嗎
※ 編輯: daniel88520 (101.8.133.190), 11/22/2018 04:21:57
※ 編輯: daniel88520 (101.8.133.190), 11/22/2018 04:22:31
推 a87569650: errorResponse不是有個error參數嗎 印出來看看 11/22 20:13
org.json.JSONException:Value of type org.json.JSONArray cannot be converted to JsonObject
※ 編輯: daniel88520 (101.8.133.190), 11/22/2018 23:36:32
→ gcobc12632: 印出來之後就很明顯啦 JSONArray 無法轉換 JSONObject 11/23 02:54
沒錯 我現在改用jsonarray了 感謝
※ 編輯: daniel88520 (101.8.133.190), 11/23/2018 04:02:29