您的位置:首页 > 理论基础 > 计算机网络

The type org.apache.http.Header cannot be resolved. 的解决办法

2017-01-10 13:45 483 查看
The type org.apache.http.Header cannot be resolved. It is indirectly referenced from required .class files



具体原因不清楚,网上有很多说法,In Eclipse copy 
org.apache.http.legacy.jar
 from 
AndroidSDK/platforms/Android-23/optional
 to
libs folder.

这是能解决问题的,问题是这个org.apache.http.legacy.jar导致的,把这个jia包找到并拷贝到libs下就能解决问题了。

这个jia包的具体位置在你的android-sdk\platforms\android-23\optional里面。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐