2015-09-25 54 views
3

我一直在试图建立从这个环节所采取的项目,但面临的问题: https://github.com/kevinsawicki/http-request进口cz.msebera.android.httpclient.conn.ssl.SSLSocketFactory不能得到解决

它给人的错误:进口cz.msebera.android.httpclient.conn.ssl.SSLSocketFactory cannot be resolved

我还附上相同enter image description here

enter image description here

我一直在试图建立快照在Eclipse中的项目,请帮助我纠正错误,因为在尝试所有选项后,我没有得到任何线索来解决它。提前预约。

回答

3

从版本1.4.9开始,android-async-http依赖于重新打包的Apache HTTP版本,以确保与未来版本的Android兼容。你可以得到它here

+0

谢谢,您的解决方案工作,但现在我已经开始在一些文件中得到这个错误:import com.fasterxml.jackson.core.JsonFactory无法解析。 – Pratswinz

+1

@Pratswinz使用Java包名称搜索经常会导致您进入[Maven repo](http://mvnrepository.com/artifact/com.fasterxml.jackson.core)或该库的其他某个下载位置。 –

相关问题