简体   繁体   English

Volley Library 在 android 4.4 kitkat 上不起作用,为什么?

[英]Volley Library doesn't work on android 4.4 kitkat, why?

I wrote a small code using volley library 1.1.0 and 1.0.0 version, it works fine on all android versions, but recently my code doesn't work on android 4.4, and there's no error, it just reach the (onErrorResponse) when i make an HTTP request.我使用 volley 库 1.1.0 和 1.0.0 版本编写了一个小代码,它在所有 android 版本上都可以正常工作,但最近我的代码在 android 4.4 上不起作用,并且没有错误,它只是到达 (onErrorResponse) 时我发出一个 HTTP 请求。 Any suggestions有什么建议

Are you using TLS1.1 or TLS 1.2.您使用的是 TLS1.1 还是 TLS 1.2。 Android 4.4 and below do not support these and that might be the reason. Android 4.4 及以下版本不支持这些,这可能是原因。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM