Zizeeo
Zizeeo

Reputation: 361

Error: Invalid Resource directory name in Eclipse

I am creating a Sudoku Android app but I am getting a error under strings.xml. This is the line of code: <?xml version="1.0" encoding="utf-8"?> and this is the error: Invalid Resource directory name. I am new at Android development and have never seen this error.

Thanks in advance, Zizeeo.

Upvotes: 1

Views: 3623

Answers (2)

Spadar Shut
Spadar Shut

Reputation: 15807

I had the same issue. It turned out that I copied xml files from phonegap's xml folder to the project's res folder, not the whole xml folder.

So in the project's folder the structure should go like this:

res/xml/phonegap.xml
res/xml/plugins.xml

Upvotes: 2

Greg
Greg

Reputation: 2039

You need to at lease include

    <?xml version="1.0" encoding="utf-8"?>
    <resources>

    </resources>

Upvotes: 0

Related Questions