2

I tried many answers there but non solved the problem.

I have an android project (lets name it t) that I created using the eclipse into its workspace folder.

I did the following:

  • I copied t into another place as a backup.
  • Then, I deleted it from eclipse -> R-click on t then delete.
  • When I checked the workspace, it was removed as expected.
    Then.
  • I copied the backup into the workspace.
  • I tried to open it on eclipse, but with no success.
    • File -> Import -> Android -> Existing Android Code Into WorkSpace -> Next -> Browse (to the project folder in the workspace itself) -> Finish (Last step).
  • After the last step, the dialog box disappeared (as expected) without a warning message. But t was not added (became visible) into the Package Explorer of Eclipse!!.
  • I checked the workspace folder, the project t I wanted to open was still there

How to fix?

3 Answers 3

3

Try leaving the project folder outside of the workspace during the import.

When you re-import the project, check the "copy project files into workspace" box.

In my experience, manually copying projects into (or out of) the workspace can be troublesome.

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you. I tried your solution it was OK. There is one extra step to add to your answer (as improvement). I first deleted my project from workspace\.metadata\.plugins\org.eclipse.core.resources\.projects. If not deleted from there, attempting to import it was unsuccessful.
0

New ->Other ->Android Project from Existing Code ->(Browse to Root Directory )->select Projects to Imports -> check Copy projects into working sets ->finish

Comments

0

I think that you should check the error log...probably Eclipse won't let you import it, with a message "Some projects cannot be imported because they already exist in the workspace". If this is the case, using/creating another workspace should fix the problem. If you don't want to change workspace, you may want to check this post.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.