Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Phonegap + Eclipse + Cordova -- No config.xml

I just created an Android Project in Eclipse with all the phonegap and cordova files as expected. However, I have no such directory, and thus, no config.xml. According to the Apache Cordova documentation, it is supposed to be located at: app/res/xml/config.xml.

My folder structure is as follows, for the /res directory:

/res/drawable-hdpi
/res/drawable-ldpi
/res/drawable-mdpi
/res/drawable-mdpi
/res/layout
- /res/layout/main.xml
/res/values
- /res/layout/strings.xml

What have I done wrong or what step am I missing? I hope I have provided enough information.

like image 488
zeddotes Avatar asked Oct 06 '22 19:10

zeddotes


1 Answers

Just create the /res/xml/ folder manually. Then create config.xml using a text editor and use this as a template: https://github.com/phonegap/phonegap/blob/master/lib/android/xml/config.xml

like image 165
DaveAlden Avatar answered Oct 10 '22 01:10

DaveAlden