我正在尝试导入我和我的同事一直在做的一个项目。在我选择“导入”,然后选择“导入现有项目”,然后单击存档文件,然后单击下一步,这个错误就出现了:
中已经存在某些项目,因此无法导入 工作空间
我正在尝试导入我和我的同事一直在做的一个项目。在我选择“导入”,然后选择“导入现有项目”,然后单击存档文件,然后单击下一步,这个错误就出现了:
中已经存在某些项目,因此无法导入 工作空间
当前回答
我刚接触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.
其他回答
没有什么解决不了我的问题。这就是我解决的方法。
关闭IDE 从工作区中删除同名项目 启动IDE 清理所有项目(不确定这是否有帮助) >导入>现有项目 点击刷新按钮 导入项目
做. .
也许你会得到相同的项目名称在你的。项目文件,检查它,如果是,重命名另一个名称。然后再导入
如果你已经把一个git项目克隆到了现有的工作空间中,现在你想把这个工作空间提升为一个成熟的项目,那么你应该使用“git仓库”视图->选择“工作目录”->导入项目->现有项目。
您的工作区中可能有一个同名的项目。尝试在删除同名的另一个工作区后刷新(file->refresh)您的工作区。 当您希望重新导入已删除的项目时,会出现典型的情况。
转到项目中的。project文件,并在名称标签中更改项目的名称