Some projects cannot be imported because they already exist in the workspace error in Eclipse

前端 未结 30 2397
予麋鹿
予麋鹿 2020-11-28 01:36

I am trying to import a project that me and my co-worker have been working on.. and keep getting this error after I select-- \"import\" then \"import existing project\" then

相关标签:
30条回答
  • 2020-11-28 02:13

    This is what i have noticed for the above issue :- If the checkout folder (folder where your pom project resides) is same as the eclipse workspace folder then i am getting this issue

    SOLUTION

    when i used a separate workspace folder for importing the project, eclipse did worked smoothly :)

    0 讨论(0)
  • 2020-11-28 02:14

    Check if you have configured Eclipse to show ALL the working set. I once encountered exactly the same problem and it turned out I accidentally imported the project into the Other Projects working set. And my Eclipse configuration didn't show that working set in the package explorer, which lead me to believe that the project was not imported yet.

    Updated for @Mawg:

    First, click the Select Working Set...:

    Then, choose No Working Sets:

    This will effectively disable the working set and show all projects.

    0 讨论(0)
  • 2020-11-28 02:15

    It has just happened to me too. Finally I realized that the project was already open in my workspace but it was not visible because of the selected working set. You have just to deselect the active working set and all opened projects will become visible.

    0 讨论(0)
  • 2020-11-28 02:16

    If you've arrived at this because you have cloned a git project into the existing workspace and now you want to promote that workspace to a full fledged project then you should use the 'Git Repositories' view -> select 'Working Directory' -> Import Projects -> Existing projects.

    0 讨论(0)
  • 2020-11-28 02:16

    Nothing about could not solve my situation. This is how I solved.

    1. Close the IDE
    2. Remove the same name project form workspace
    3. Start the IDE
    4. Clean all project (not sure this helped)
    5. File > Import > Existing Project
    6. click refresh button
    7. import project

    Done..

    0 讨论(0)
  • 2020-11-28 02:18

    This worked for me.

    File > New > Android Project > Create project from existing source

    Location = the location of the project you want to import.

    You will get a warning "An Eclipse project already exists in this directory. Consider using File > Import > Existing Project instead." But you will be able to click "Next" and the project should in effect be imported.

    0 讨论(0)
提交回复
热议问题