我正在尝试导入我和我的同事一直在做的一个项目。在我选择“导入”,然后选择“导入现有项目”,然后单击存档文件,然后单击下一步,这个错误就出现了:
中已经存在某些项目,因此无法导入 工作空间
我正在尝试导入我和我的同事一直在做的一个项目。在我选择“导入”,然后选择“导入现有项目”,然后单击存档文件,然后单击下一步,这个错误就出现了:
中已经存在某些项目,因此无法导入 工作空间
当前回答
也许你会得到相同的项目名称在你的。项目文件,检查它,如果是,重命名另一个名称。然后再导入
其他回答
这很简单。
按f2键重命名项目。
并导入多个副本的android项目与相同的包。
我也遇到过这种情况。最后,我意识到项目已经在我的工作空间中打开,但由于所选的工作集,它是不可见的。您只需取消选择活动的工作集,所有打开的项目都将变得可见。
在eclipse中单击文件,然后选择切换工作区,然后浏览并选择另一个文件夹。现在重复同样的过程,这一次将不会有错误:)
我刚接触Eclipse和Android开发,这让我困扰了很长一段时间。以下是我做错的几件事,也许将来会对别人有所帮助:
I was downloading code examples and assuming project name would be the same as the folder name and was looking for that folder name in the project explorer, not finding it, re-importing it, then getting the error message it already existed in the workspace. Yeah. Not proud of that. Didn't click on 'Copy projects into Workspace' and then searched in vain through the workspace when it didn't appear in the project explorer BECAUSE The 'Add project to working sets' option in the Import Projects tab isn't working as far as I can tell, so was not appearing in the project explorer for the active working set (refresh made no difference). Adding project to the working set had to be done after successfully importing it.
在您的工作空间文件夹中查看一下,您可能有一个旧项目,其名称与您正在导入的项目相同(即使它没有在eclipse中显示)。
当您在Eclipse上删除一个项目时,如果您不勾选对话框上的复选框,它就会将其从视图中删除,而不会删除工作区目录上的文件夹。