该问题出现的原因是4.4系统get时不再提交请求头,外国程序员对bug的解释:

On Android 4.4 things did change under the hood and the none standard SHOUTcast ICY header response is no longer supported. Just like the Apache HTTPClient library.

详情请看:

http://stackoverflow.com/questions/19738798/android-4-4-http-api-bugs/19836471


解决方案:

1.服务器忽略get请求头

2.post提交数据


更多相关文章

  1. Android(安卓)Studio下,gradle project sync failed 错误
  2. Android(安卓)- ViewPager使用PagerAdapter,instantiateItem时出
  3. Android(安卓)studio 升级2.2 之后 Maven插件不能使用解决
  4. Error:Execution failed for task ':app:packageDebug'. > !zip.
  5. AS Gradle构建失败异常:Could not download gradle.jar (io.fabr
  6. Warning:The specified Android(安卓)SDK Build Tools version (
  7. 【android】解决Viewpager设置高度为wrap_content无效的方法
  8. 关于Android的ActionBar不能显示左上角的图标解决方案
  9. Android(安卓)studio报错module not specified解决方案

随机推荐

  1. Android开发/源码资源汇总
  2. Android SDK离线安装
  3. 让android studio 支持Lambda
  4. Android TP(二)
  5. Android(安卓)ORM 框架之 greenDAO应用基
  6. Android 设置EditText光标颜色及粗细
  7. Android中文API(142) —— Gravity
  8. Android网络通信(2):HTTP通信
  9. Android学习路线的归纳总结
  10. 为TextView添加上下边框