API 23はorgが見つからない.apache.http.HttpResponse;
251 ワード
使用的 target sdk是23,
会发现:import org.apache.http.HttpResponse;
这些都报错了。
解决方法:
请在build.gradle加入
android{ useLibrary ‘org.apache.http.legacy‘ }
使用的 target sdk是23,
会发现:import org.apache.http.HttpResponse;
这些都报错了。
解决方法:
请在build.gradle加入
android{ useLibrary ‘org.apache.http.legacy‘ }