Eclipse导入工程Some projects cannot be imported because they already exist in the workspace

时间:2024-04-16 10:46:28

记录一下本次出错原因,以及解决方法

错误原因:

第一次导入后,删除工程,没有没有勾选Delete project contents on disk(cannot be undone)

解决方法:

1 找到要导入的工程文件夹,找到.project,用记事本打开

2 找到<name><name\>字段,修改它的内容,改为新的名字,即可正常导入。

Eclipse导入工程Some projects cannot be imported because they already exist in the workspace