在后边加上这段: request.setRetryPolicy(new RetryPolicy() { @Override public int getCurrentTimeout() { return 50000; } @Override public int getCurrentRetryCount() { return 50000; } @Override public void retry(VolleyError error) throws VolleyError { } });
volley-timeout-error
最新推荐文章于 2019-11-01 14:12:02 发布