user1403317
user1403317

Reputation: 71

Create android project from existing source in eclipse

I try to create an android project from existing source and when I choose the folder I get an error : An existing directory name must be specified.

I dont understand why I get this error I choose the directory of the project.

image link : https://i.sstatic.net/bZLDR.png

I realy need help...

Upvotes: 0

Views: 4119

Answers (3)

AndiDog
AndiDog

Reputation: 70108

Solution is to select the parent directory. So if you already have a structure

parent
    project
        <AndroidManifest.xml and friends>

then select "parent" instead of "project". Use the "Browse" button instead of copy-pasting the path.

Upvotes: 1

rizzz86
rizzz86

Reputation: 3990

Goto:

File > Import > Existing Projects into Workspace

and select the root folder of your project.

Upvotes: 0

Kumar Vivek Mitra
Kumar Vivek Mitra

Reputation: 33534

Well, after you have selected the project from the directory, and u still see the error symbol,

now dont make any changes to the directory at all, but try to toggle the radio buttons, and if possible even try to check and uncheck the check box, finally bring everything as it was..... the check box unchecked, and radio button at create an android project from existing source selected, u will see the error is gone, that happens in my eclipse

Upvotes: 0

Related Questions