We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
然后Response就不能直接继承BasicHttpResponse,请问这个应该怎么解决?
The text was updated successfully, but these errors were encountered:
在你的gradle文件中加入useLibrary 'org.apache.http.legacy', 如: android{ compileSdkVersion 23 buildToolsVersion "23.0.2" useLibrary 'org.apache.http.legacy' // 省略其余代码 ...... } 参考自https://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-apache-http-client
useLibrary 'org.apache.http.legacy'
Sorry, something went wrong.
@leibnik 其实还可以去看看okhttp里面的实现,他好像是自己实现了apache的HttpClient,所以可以做到M的兼容,我觉得Volley主要可以学习面向接口编程,整个库逻辑也比较简单
No branches or pull requests
然后Response就不能直接继承BasicHttpResponse,请问这个应该怎么解决?
The text was updated successfully, but these errors were encountered: