Android无法导入谷歌播放服务Android

2023-09-06 08:03:34 作者:单行者

SDK管理器我下载了谷歌播放服务,但是当我尝试这个LIB添加到我的项目从右键点击然后进口现有的Andr​​oid code到车间然后当我选择了谷歌播放服务LIB从 C:\ Program Files文件(x86)\Android\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib我得到这个错误(请参阅下面pelase的PIC)。

From SDK Manager I have download the google play services, but when i try to add this lib to my project from right click then import the existing android code into workshop then when i select the google play services lib from C:\Program Files (x86)\Android\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib i got this error (see the pic below pelase) .

我有Android的支持V4(也许这使得问题?我只是告诉你,因为我不知道这是否会出错)。

i have android support v4 (maybe this makes problems? i just tell you because i don't know if this would make mistakes ).

推荐答案

好像是你已经导入谷歌的播放,services_lib项目,并从Eclipse IDE中,但不是在你的硬盘工作区文件夹只是删除。尝试从工作区文件夹删除谷歌播放-services_lib项目,并再次尝试导入该项目。

Seems to be you have already imported the google-play-services_lib project and just deleted from eclipse ide but not in your hard drive workspace folder. Try deleting the google-play-services_lib project from your workspace folder and try importing the project again.

和确保是库中选中属性 - > Android的谷歌播放的,services_lib项目。

And make sure "Is Library" is checked in properties->Android of google-play-services_lib project.