在安卓上使用httpClient出现
Authentication error: Unable to respond to any of these challenges: {} 错误.
还说什么Intent访问 在主线程.
原来 : 是因为我在解析inputStream时在主线程解析..只要把 InputStream放在异步线程里面解析就可以了.
本文介绍了一个在Android开发中使用HttpClient时遇到的问题:主线程解析InputStream导致的Authenticationerror异常。文章提供了将InputStream解析操作移至异步线程的解决方案。
在安卓上使用httpClient出现
Authentication error: Unable to respond to any of these challenges: {} 错误.
还说什么Intent访问 在主线程.
原来 : 是因为我在解析inputStream时在主线程解析..只要把 InputStream放在异步线程里面解析就可以了.
转载于:https://my.oschina.net/janson2013/blog/161733

被折叠的 条评论
为什么被折叠?