Error "Invalid resource directory name" when trying to create android app with phonegap in eclipse

14,377

Solution 1

I believe you have the wrong platform set. Right click on the Project name in Eclipse and go to properties and then click on Android and select at least Android 1.6.

Solution 2

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 structure should go like this:

res/xml/phonegap.xml
res/xml/plugins.xml
Share:
14,377
a.stringham
Author by

a.stringham

Updated on June 29, 2022

Comments

  • a.stringham
    a.stringham almost 2 years

    I followed the tutorial here but when I create the project in Eclipse, i get an error "invalid resource directory name. Resource: "drawable-hdpi" path "/HelloAndroid/res" type "Android AAPT Problem"