我從GitHub上的Android項目命名爲Android的異步HTTP主機,這是下載鏈接:https://github.com/loopj/android-async-http 但是當我導入項目偏食,它有錯誤。安卓進口Android的異步HTTP主機有錯誤
我得到了這樣的錯誤:
import cz.msebera.android.httpclient.Header;
import cz.msebera.android.httpclient.HeaderElement;
所以我的問題是:該項目包的名稱是com.loopj.android.http
,其中is the cz.msebera.android.httpclient
包?
我想你已經檢查了開發版本,得到發佈版本。 loopj http客戶端正在經歷很多變化,因爲它的一些依賴關係在Lollipop – e4c5