1

i'm trying to import a folder with an existing project in Eclipse, but it wont't work.

CTRL + N --> Android Project from existing code --> give folder directory --> Finish

Once i try that, nothing happens. Nothing loads, Eclipse doesn't give me an error output, just nothing. Odd thing is that it just happens like that on one single project. When i try to import other projects, everything works just fine. I am a 100% certain that my project is not corrupted or anything. I just removed it from the Package Explorer and now it won't work anymore.

Thank for your help :)

8
  • Are you sure you are choosing "Android Application project" and not normal project from the wizard..? Commented Jan 28, 2014 at 13:40
  • Are you importing android project or general one? Commented Jan 28, 2014 at 13:40
  • Is there a .Project file in the Folder? Commented Jan 28, 2014 at 13:41
  • @CRUSADER: File -> New -> Other -> Android Project from Existing code, also tried it via File -> Import, that wouldnt work aswell Commented Jan 28, 2014 at 13:44
  • @shylendra android project Commented Jan 28, 2014 at 13:46

4 Answers 4

1

Once try this:

  1. File->Import->General->Existing Projects into Workspace, Next
  2. Select root directory: /path/to/project
  3. Projects->Select All
  4. UNCHECK both "Copy projects into workspace" and "Add project to working sets"
  5. Finish
Sign up to request clarification or add additional context in comments.

1 Comment

not working. tried it with checked and unchecked boxes, with and without the .project-file in the folder, .. :/
0

If you just removed the Project from Project Explorer, then Eclipse specific files (.project and .classpath) must be still there. Try to import it as existing Eclipse project: Import -> Existing Projects into Workspace.

Comments

0

I had this problem recently. As it turns out, the AndroidManifest.xml contained a duplicated entry (syntax error), causing a parse failure when Eclipse tried to decode it.

After I found the duplicate line, removed it, and re-added the project to my workspace, it showed up in Package Explorer just fine.

Hope it helps.

Comments

0

For my case there was a problem in manifest . Check whether Manifest is proper or not or any other Xml file has any sort of problem .

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.