Skip to content Skip to sidebar Skip to footer

Error "invalid Resource Directory Name" When Trying To Create Android App With Phonegap In Eclipse

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 'And

Solution 1:

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

Solution 2:

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 3:

had the issue when I forgot to add xml file inside the xml folder

Post a Comment for "Error "invalid Resource Directory Name" When Trying To Create Android App With Phonegap In Eclipse"