Eclipse “Invalid Project Description” when creating new project from existing source

前端 未结 21 1082
被撕碎了的回忆
被撕碎了的回忆 2020-12-04 05:35

I am trying to create a new project from existing source code. I keep getting the following error: \"Invalid Project Description\", project path \"overlaps the location of a

相关标签:
21条回答
  • 2020-12-04 06:23

    I've been having this problem in Linux, with a project that I renamed, removed, and reimported. Somewhere in the .metadata, it's still there evidently.

    I finally solved it by the following steps:

    close Eclipse
    mv .metadata .metadata_orig
    start Eclipse
    reset default workspace
    reimport projects
    

    This may not work for everyone, especially if you already have lots of projects in multiple workspaces. But if you're used to reconfiguring Eclipse (which I do every time I upgrade to the next Eclipse release) it's not too bad.

    0 讨论(0)
  • 2020-12-04 06:25
    1. Copy the code you want somewhere outside your workspace folder
    2. Create a new project using existing code from that folder
    3. Once the project is created, right click on it and Refactor > Move it into the Workspace folder. (use default location)
    0 讨论(0)
  • 2020-12-04 06:25

    Here is what I did that worked great. I just imported an existing project under general instead of importing an android project.

    0 讨论(0)
  • 2020-12-04 06:29

    The easiest way to solve this problem is just to move your`s project to another folder and import it. This is because you have already had this project(or project with the same name) in that folder. And when you delete project, eclipse still retains a reference to it

    0 讨论(0)
  • 2020-12-04 06:30

    I got rid of my issue by changing File > Workspace and then, after the restart, reset the Workspace again.

    0 讨论(0)
  • 2020-12-04 06:33

    This option fixed my issue.

    Link : http://fledglingsnook.wordpress.com/2012/08/09/eclipse-issue-overlaps-the-location-of-another-project/

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