yao*_*ang 3 android asynchronous github
我从github获得了一个名为android-async-http-master的android项目,这是下载链接:https://github.com/loopj/android-async-http 但是当我将项目导入到eclipse时,它有一个错误.
我得到这样的错误:
import cz.msebera.android.httpclient.Header;
import cz.msebera.android.httpclient.HeaderElement;
Run Code Online (Sandbox Code Playgroud)
所以我的问题是:项目包名是com.loopj.android.http
,is the cz.msebera.android.httpclient
包哪里?
你必须下载这个jar cz.msebera.android,然后导入你的项目
如果你使用android studio,只需compile 'cz.msebera.android:httpclient:4.3.6'
在你的.gradle依赖项中添加它
希望它有所帮助
归档时间: |
|
查看次数: |
3745 次 |
最近记录: |