import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.StatusLine;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.DefaultHttpClient;
不能得到解決。我下載了Apache Http包並通過外部jar選項導入它們,但仍然無法解決。在Android中,似乎可以工作,猜測它在SDK中,但在這裏我沒有做Android。我收到了錯誤的包裹嗎?
我相信這是鏈接:
有時在導入外部庫之後,我不得不刷新依賴關係或關閉並打開項目以使eclipse錯誤消失。 –
好點。正因爲這個原因,我經常做一個Eclipse「Project,Clean」。 – paulsm4