2013-03-30 18 views
6

我收到此錯誤解決進口com.google.api.client不能在Eclipse

enter image description here

Java構建路徑:

enter image description here

即使重新啓動Eclipse,我仍然會得到下面的錯誤。

enter image description here

誰能幫助? Thx:D

+0

Eclipse中有時是...你重新啓動? – m0skit0

+0

@ m0skit0是的,我已經重新啓動了好幾次...仍然沒有工作 – Alexis

回答

1

你的libs文件夾如果你想谷歌的API添加到Android應用程序,因爲我是,如果你使用的是Eclipse,下面是很容易的。

Right-click on a project, select "Google > Add Google APIs...", select the Google API you need from the list of available Google APIs, click Finish, and it will automatically download the API client library

https://code.google.com/p/google-api-java-client/wiki/Setup