Why am I getting an invalid project description during project import?

I am trying to import an existing project in eclipse. However, I get this error in the screenshot below. This problem only occurs when trying to import from my workspace. However, if the same project is located somewhere else, I can import it successfully. enter image description here

+6
source share
5 answers

I also ran into the same problem. The trick below solved my problem:

  • check the Copy project to workspace box when importing an existing project.
+13
source

you have two solutions and they work:

1 - move the project package from the workspace and place it in a different root, and then import into the eclipse.

or

2 - rename your project package and then add it and it will fix the problem.

+4
source

You have a project named X in your workspace, but you are trying to import another project named X You can fix it by deleting the existing project in the eclipse and try importing again.

difficult

  • You can change the workspace and import this project into a new workspace.
  • remove the project from eclipse and import without using the copy project into the workspace

Android -> Existing Android code in the workspace, you should use General-> Existing projects in the workspace. This is probably the solution.

+2
source

You must change the path of the workspace. To change the workspace path:

enter image description here

+1
source

I checked all the solutions and found that in most cases the "Change project location" form worked in 80% of cases. But for the next 20%, I would recommend doing the following:

  • Modify the Project folder and then import it. (do it first)

  • If the above does not work, rename the project and try importing it.

If you have not succeeded yet, check if you are importing the project from one workspace folder to another or not. IF yes, then when importing projects, check the box "Copy project to workspace".

And even if you have not succeeded, clik import -> General -> An existing project in Workspace.

PS → If this solution worked for you, please vote because I am new here and therefore need this to participate in basic questions and answers. General Option Approach for Importing

0
source

Source: https://habr.com/ru/post/958759/


All Articles