开发者

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 v开发者_Python百科ersion="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.


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


You need to at lease include

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

    </resources>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜