android - volley error No authentication challenges found

后端 未结 5 1904
遇见更好的自我
遇见更好的自我 2020-12-16 17:41

I am trying to work with some legacy code and have come up against an issue when using volley.

I am trying to get to an api that our main site has and it works fine

5条回答
  •  鱼传尺愫
    2020-12-16 18:08

    You can check e is instanceof AuthFailureError.

    Log.e(TAG, "AuthFailureError: " + (e instanceof AuthFailureError));
    

提交回复
热议问题