# Update config.xml

**URL:** <https://forum.ionicframework.com/t/update-config-xml/9604>\
**Category:** ionic-v1\
**Created:** [September 13, 2014, 7:02am UTC](https://forum.ionicframework.com/t/update-config-xml/9604 "2014-09-13T07:02:05Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![janakparmar9491](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@janakparmar9491](https://forum.ionicframework.com/u/janakparmar9491)\
**Post date:** [September 13, 2014, 7:02am UTC](https://forum.ionicframework.com/t/update-config-xml/9604/1 "2014-09-13T07:02:06Z")

</div>

I am getting a problem while creating ionic app. which i am not able to solve. so please anyone can help me to solve these problem.

Below is the CODE:

D:\Janak\ionic\>ionic start myapp  
Creating Ionic app in folder D:\Janak\ionic\myapp based on tabs project

Downloading: [https://github.com/driftyco/ionic-app-base/archive/master.zip](https://github.com/driftyco/ionic-app-base/archive/master.zip)  
[=============================] 100% 0.0s

Downloading: [https://github.com/driftyco/ionic-starter-tabs/archive/master.zip](https://github.com/driftyco/ionic-starter-tabs/archive/master.zip)  
[=============================] 100% 0.0s

Update config.xml  
Initializing cordova project  
Unable to add plugins. Perhaps your version of Cordova is too old. Try updating(npm install -g cordova), removing this project folder, and trying again. (CLI v1.2.4).

Please reply me if you find solution…

---

<div class="post-metadata">

**Author:** ![shashikant](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@shashikant](https://forum.ionicframework.com/u/shashikant)\
**Post date:** [September 13, 2014, 7:05am UTC](https://forum.ionicframework.com/t/update-config-xml/9604/2 "2014-09-13T07:05:48Z")

</div>

Which cordova version are you using??

---

<div class="post-metadata">

**Author:** ![janakparmar9491](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@janakparmar9491](https://forum.ionicframework.com/u/janakparmar9491)\
**Post date:** [September 13, 2014, 7:20am UTC](https://forum.ionicframework.com/t/update-config-xml/9604/3 "2014-09-13T07:20:52Z")

</div>

cordova version 3.5.0-0.2.7

---

<div class="post-metadata">

**Author:** ![shashikant](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@shashikant](https://forum.ionicframework.com/u/shashikant)\
**Post date:** [September 13, 2014, 7:30am UTC](https://forum.ionicframework.com/t/update-config-xml/9604/4 "2014-09-13T07:30:53Z")

</div>

Please update cordova…

**npm update -g cordova**

Then Try,

**ionic start myapp**

---

<div class="post-metadata">

**Author:** ![janakparmar9491](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@janakparmar9491](https://forum.ionicframework.com/u/janakparmar9491)\
**Post date:** [September 13, 2014, 7:35am UTC](https://forum.ionicframework.com/t/update-config-xml/9604/5 "2014-09-13T07:35:15Z")

</div>

D:\Janak\ionic\>npm update -g cordova

D:\Janak\ionic\>ionic start myapp  
Creating Ionic app in folder D:\Janak\ionic\myapp based on tabs project

The directory D:\Janak\ionic\myapp already exists.  
Would you like to overwrite the directory with this new project?  
(yes/no): yes

Downloading: [https://github.com/driftyco/ionic-app-base/archive/master.zip](https://github.com/driftyco/ionic-app-base/archive/master.zip)  
[=============================] 100% 0.0s

Downloading: [https://github.com/driftyco/ionic-starter-tabs/archive/master.zip](https://github.com/driftyco/ionic-starter-tabs/archive/master.zip)  
[=============================] 100% 0.0s

Update config.xml  
Initializing cordova project  
Unable to add plugins. Perhaps your version of Cordova is too old. Try updating(npm install -g cordova), removing this project folder, and trying again. (CLI v1.2.4)

still not working.

---

<div class="post-metadata">

**Author:** ![shashikant](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@shashikant](https://forum.ionicframework.com/u/shashikant)\
**Post date:** [September 13, 2014, 7:57am UTC](https://forum.ionicframework.com/t/update-config-xml/9604/6 "2014-09-13T07:57:30Z")

</div>

Did you check cordova version after update??

---

<div class="post-metadata">

**Author:** ![janakparmar9491](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@janakparmar9491](https://forum.ionicframework.com/u/janakparmar9491)\
**Post date:** [September 15, 2014, 4:35am UTC](https://forum.ionicframework.com/t/update-config-xml/9604/7 "2014-09-15T04:35:18Z")

</div>

yes i had check after update…  
cordova version 3.5.0-0.2.7…

---

<div class="post-metadata">

**Author:** ![shashikant](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@shashikant](https://forum.ionicframework.com/u/shashikant)\
**Post date:** [September 15, 2014, 4:39am UTC](https://forum.ionicframework.com/t/update-config-xml/9604/8 "2014-09-15T04:39:09Z")

</div>

hmmm

Cordova is not updated.After update It should **cordova version -3.6.0-0.2.9** …  
Try to update again…

---

<div class="post-metadata">

**Author:** ![janakparmar9491](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@janakparmar9491](https://forum.ionicframework.com/u/janakparmar9491)\
**Post date:** [September 15, 2014, 4:47am UTC](https://forum.ionicframework.com/t/update-config-xml/9604/9 "2014-09-15T04:47:17Z")

</div>

do you have a download link of this latest cordova version…

---

<div class="post-metadata">

**Author:** ![shashikant](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@shashikant](https://forum.ionicframework.com/u/shashikant)\
**Post date:** [September 15, 2014, 4:58am UTC](https://forum.ionicframework.com/t/update-config-xml/9604/10 "2014-09-15T04:58:50Z")

</div>

Sorry, I don’t have any link.  
But, i update using CLI - npm update -g cordova. Try again…

[https://cordova.apache.org/docs/en/2.9.0/guide\_cli\_index.md.html](https://cordova.apache.org/docs/en/2.9.0/guide_cli_index.md.html)

---

<div class="post-metadata">

**Author:** ![janakparmar9491](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@janakparmar9491](https://forum.ionicframework.com/u/janakparmar9491)\
**Post date:** [September 15, 2014, 5:05am UTC](https://forum.ionicframework.com/t/update-config-xml/9604/11 "2014-09-15T05:05:05Z")

</div>

ok…  
anyways thanks.

---

<div class="post-metadata">

**Author:** ![janakparmar9491](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@janakparmar9491](https://forum.ionicframework.com/u/janakparmar9491)\
**Post date:** [September 15, 2014, 11:43am UTC](https://forum.ionicframework.com/t/update-config-xml/9604/12 "2014-09-15T11:43:30Z")

</div>

hi shashikant i had updated cordova version 3.6.0-0.2.9.  
but still it not working.

---

<div class="post-metadata">

**Author:** ![peterrobot](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/peterrobot/32/6991_2.png) [@peterrobot](https://forum.ionicframework.com/u/peterrobot)\
**Post date:** [September 15, 2014, 12:52pm UTC](https://forum.ionicframework.com/t/update-config-xml/9604/13 "2014-09-15T12:52:40Z")

</div>

It might be a permission issue on the project folder. Try to start the project in a user-writable directory. Somewhere like your “my Documents”. You are using windows, right?

---

<div class="post-metadata">

**Author:** ![janakparmar9491](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@janakparmar9491](https://forum.ionicframework.com/u/janakparmar9491)\
**Post date:** [September 16, 2014, 4:15am UTC](https://forum.ionicframework.com/t/update-config-xml/9604/14 "2014-09-16T04:15:45Z")

</div>

i had try that also…  
but still it not working.

---

<div class="post-metadata">

**Author:** ![shashikant](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@shashikant](https://forum.ionicframework.com/u/shashikant)\
**Post date:** [September 16, 2014, 11:03am UTC](https://forum.ionicframework.com/t/update-config-xml/9604/15 "2014-09-16T11:03:34Z")

</div>

Now, what is error??

---

<div class="post-metadata">

**Author:** ![janakparmar9491](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@janakparmar9491](https://forum.ionicframework.com/u/janakparmar9491)\
**Post date:** [September 16, 2014, 12:08pm UTC](https://forum.ionicframework.com/t/update-config-xml/9604/16 "2014-09-16T12:08:48Z")

</div>

still same error is coming.

---

<div class="post-metadata">

**Author:** ![jondarchangel](https://avatars.discourse-cdn.com/v4/letter/j/eada6e/32.png) [@jondarchangel](https://forum.ionicframework.com/u/jondarchangel)\
**Post date:** [October 26, 2014, 8:16am UTC](https://forum.ionicframework.com/t/update-config-xml/9604/17 "2014-10-26T08:16:44Z")

</div>

run the command android list target. If you see:

‘xcopy’ is not recognized as an internal or external command,  
operable program or batch file.

at the beginning of the command output, it means you will need to fix your Windows Path variable to include xcopy. This location is typically under C:\Windows\System32.

The link: [http://adilapapaya.com/docs/cordova/](http://adilapapaya.com/docs/cordova/)

Please try to add this:

Set Environment variable PATH = %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
