只有禁止staticvoidsetFollowRedirects(booleanset)SetswhetherHTTPredirects(requestswithresponsecode3xx)shouldbeautomaticallyfollowedbythisclass.
这个问题好像是4.0之后出现的,将AndroidManifest.xml的minSdkVersion改为7即可,并且去掉targetSdkVersion