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 please) .
从SDK Manager我已经下载了google play服务,但是当我尝试从右键单击将这个lib添加到我的项目中然后将现有的android代码导入研讨会然后当我从C:\ Program Files(x86)中选择google play服务lib时)\ Android \ android-sdk \ extras \ google \ google_play_services \ libproject \ google-play-services_lib我收到此错误(请参阅下面的图片)。
note
I have android support v4 (maybe this makes problems? I just tell you because I don't know if this would make mistakes).
我有android支持v4(也许这会产生问题?我只是告诉你,因为我不知道这是否会出错)。
3 个解决方案
#1
22
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.
似乎您已经导入了google-play-services_lib项目,只是从eclipse ide中删除了,但没有在您的硬盘工作区文件夹中删除。尝试从工作区文件夹中删除google-play-services_lib项目,然后再次尝试导入项目。
And make sure "Is Library" is checked in properties->Android of google-play-services_lib project.
并确保在google-play-services_lib项目的properties-> Android中选中“Is Library”。
#2
1
The Maps APIs for Android have been updated in the latest release of the Google Play Services library and have been rolled out to Android devices with the Play Store.
适用于Android的Maps API已在最新版本的Google Play服务库中进行了更新,并已通过Play商店推广到Android设备。
Please check this link.
请检查此链接。
if you have any query comment below.
如果您在下面有任何查询评论。
#3
1
Seems that library already installed check my step by step tutorial to see if how you missed some step in using google map android v2 on emulator(android 4.2.2) have a look at to my blog: http://umut.tekguc.info/en/content/google-android-map-v2-step-step
似乎已经安装的库检查我的一步一步教程,看看你是如何错过使用谷歌地图android v2在模拟器上的一些步骤(android 4.2.2)看看我的博客:http://umut.tekguc.info / EN /内容/谷歌Android的地图-V2一步一步
#1
22
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.
似乎您已经导入了google-play-services_lib项目,只是从eclipse ide中删除了,但没有在您的硬盘工作区文件夹中删除。尝试从工作区文件夹中删除google-play-services_lib项目,然后再次尝试导入项目。
And make sure "Is Library" is checked in properties->Android of google-play-services_lib project.
并确保在google-play-services_lib项目的properties-> Android中选中“Is Library”。
#2
1
The Maps APIs for Android have been updated in the latest release of the Google Play Services library and have been rolled out to Android devices with the Play Store.
适用于Android的Maps API已在最新版本的Google Play服务库中进行了更新,并已通过Play商店推广到Android设备。
Please check this link.
请检查此链接。
if you have any query comment below.
如果您在下面有任何查询评论。
#3
1
Seems that library already installed check my step by step tutorial to see if how you missed some step in using google map android v2 on emulator(android 4.2.2) have a look at to my blog: http://umut.tekguc.info/en/content/google-android-map-v2-step-step
似乎已经安装的库检查我的一步一步教程,看看你是如何错过使用谷歌地图android v2在模拟器上的一些步骤(android 4.2.2)看看我的博客:http://umut.tekguc.info / EN /内容/谷歌Android的地图-V2一步一步