1、修改版本,修改android{}
compileSdkVersion 22
2、在android{}中添加
useLibrary 'org.apache.http.legacy'
3、在dependencies{}中添加
compile 'org.apache.httpcomponents:httpcore:4.4.2'
1、修改版本,修改android{}
compileSdkVersion 22
2、在android{}中添加
useLibrary 'org.apache.http.legacy'
3、在dependencies{}中添加
compile 'org.apache.httpcomponents:httpcore:4.4.2'