错误日志:
Error:(261, 25) error: cannot access HttpUriRequest
class file for org.apache.http.client.methods.HttpUriRequest not found
当编译版本大于等于23的时候。android6.0是去掉了HttpUriRequest相关类的
处理方法:
1,下载添加一个依赖库:
httpclient-4.0.1.jar
2,build.gradle 配置:
compile files('libs/httpclient-4.0.1.jar')