我正在尝试导入我和我的同事一直在做的一个项目。在我选择“导入”,然后选择“导入现有项目”,然后单击存档文件,然后单击下一步,这个错误就出现了:
中已经存在某些项目,因此无法导入 工作空间
我正在尝试导入我和我的同事一直在做的一个项目。在我选择“导入”,然后选择“导入现有项目”,然后单击存档文件,然后单击下一步,这个错误就出现了:
中已经存在某些项目,因此无法导入 工作空间
当前回答
你有一个名为“”的神秘学目录。工作空间目录下的元数据。关闭Eclipse,删除”。元数据”并打开Eclipse。当eclipse问你关于工作空间的问题时,请确保“。元数据”不在工作空间目录中,单击“确定”按钮选择默认工作空间。
其他回答
这很简单。
按f2键重命名项目。
并导入多个副本的android项目与相同的包。
我刚接触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中单击文件,然后选择切换工作区,然后浏览并选择另一个文件夹。现在重复同样的过程,这一次将不会有错误:)
如果项目已经从项目导航器中删除,那么右键单击项目导航器,并选择refresh以刷新工作空间。然后重新添加已删除的项目。