Reputation: 3967
I am trying to run ionic platform add android
- but when it runs, it uses a config.xml from an entirely different project on the same computer.
Is there some kind of cache or project switching I need to do to make sure it is reading form the right xml file?
Upvotes: 1
Views: 107
Reputation: 1465
please build with following:
cordova platform add android
cordova build android
you can use cordova while installing platform in ionic project because Ionic internally use cordova itself.
Please feedback me if error still persist.
UPDATE:
Please make fresh directory and generate project over there as you mentioned in your comment that's issue occurred because with config.xml there are others bunch of files. please generate new project in completely new directory resolved your problem Glad to help you.
Thank you
Upvotes: 1