Google does not recommend the use of httpclient after Android 5.0, so if you want to use it, you have to manually add it to the libs at: %SDK directory%\platforms\android-23\optional\org.apache.http.legacy.jar
Httpclient after Android 5.0
Guess you like
Origin blog.csdn.net/lizebin_bin/article/details/50144793
Ranking