无法导入谷歌播放-services_lib因为项目名称已被使用 [英] Cannot import google-play-services_lib because the project name is in use

查看:169
本文介绍了无法导入谷歌播放-services_lib因为项目名称已被使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做这显示谷歌地图指本教程中的应用

I've done an application which displays a Google map referring this tutorial

http://www.vogella.com/articles/AndroidGoogleMaps/article.html

应用程序一直很好,这显示谷歌地图,如图教程。但现在,当我打开这个项目,它显示了有关的 com.google 包进口的几个误区。我已经添加了 google_play_services_lib 。但是,现在,未在该应用程序中。当我尝试再次导入google_play_services_lib,出现此错误,

The application has worked fine and it displayed a Google Map as shown in the tutorial. But now, when I open the project, it shows several errors relating to the import of com.google packages. I've already added the google_play_services_lib. But now, that is not shown in the application. When I try to import the google_play_services_lib again, this error appears,

无法导入谷歌播放-services_lib因为项目名称是
  使用

"Cannot import google-play-services_lib because the project name is in use"

这是什么问题?请帮我。

What is the problem? Please help me.

推荐答案

这通常会发生,如果你有现有工作空间中相同名称的项目或文件夹。

This generally occurs, if you have a project or folder by the same name existing in your workspace.

在一般情况下,您可以通过使用F2的快捷键更改现有文件夹的名称解决它。但是,由于这是一个库,我建议你到现有的文件夹google_play_services_lib从您的工作空间目录转移到别的地方,然后再次尝试并导入google_play_services_lib。

In general, You can solve it by changing the name of the existing folder using 'F2' shortcut key. But, since this is a library I recommend you to shift the existing folder "google_play_services_lib" from your workspace directory to somewhere else and then again try and import the "google_play_services_lib" .

这篇关于无法导入谷歌播放-services_lib因为项目名称已被使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆