Reputation: 3657
Sience last week I'm trying to get cordova working and no luck yet. Step by step from this doc: http://cordova.apache.org/docs/en/3.2.0/guide_cli_index.md.html
After cordova platform add android command I get no errors. Last response "Creating android project..."
And then I'm trying cordova build command and I get error: No platforms added to this project. Please use 'cordova platform add '
What am I doing wrong???!!!
Upvotes: 2
Views: 7594
Reputation: 786
check your config.xml syntax. a not closing tag caused this issue for me.
Upvotes: 0
Reputation: 2342
Please try removing the android platform and adding it back right away:
cordova platform remove android
cordova platform add android
Upvotes: 1
Reputation: 2748
It can be tricky getting this working, especially for Android. I ran into several problems, so make sure you have done everything below:
Upvotes: 0