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

前端 未结 21 1143
被撕碎了的回忆
被撕碎了的回忆 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:11

    Suppose you have something like:


    /prj/workspace/prj1
    /prj/workspace/prj2


    And your eclipse workspace is in /prj/workspace level (i.e. /prj/workspace/.metadata). If you're having problem importing prj1 and prj2, you can either move your .metadata somewhere else (/prj/.metadata, /prj/eclipse/.metadata, etc.) or create a sub level in workspace so that it looks like:
    /prj/workspace/android/prj1
    /prj/workspace/android/prj2


    And import prj1 and prj2 again. In another word: as long as prj1, prj2, and .metadata are not in the same level it will be fine.

提交回复
热议问题