# Error at add plugin

**URL:** <https://forum.ionicframework.com/t/error-at-add-plugin/9246>\
**Category:** uncategorized\
**Created:** [September 6, 2014, 12:36pm UTC](https://forum.ionicframework.com/t/error-at-add-plugin/9246 "2014-09-06T12:36:04Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![sopesewind](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sopesewind](https://forum.ionicframework.com/u/sopesewind)\
**Post date:** [September 6, 2014, 12:36pm UTC](https://forum.ionicframework.com/t/error-at-add-plugin/9246/1 "2014-09-06T12:36:04Z")

</div>

Greeting,

i try add plugin Cordova-android chrome view. ( [https://github.com/thedracle/cordova-android-chromeview](https://github.com/thedracle/cordova-android-chromeview) )

but, there is a error.

```
LHCSui-MacBook-Air-2:scdia_android root# ionic plugin add http://github.com/thedracle/cordova-android-chromeview

Fetching plugin "http://github.com/thedracle/cordova-android-chromeview" via git clone
Error: ENOENT, no such file or directory '/tmp/plugman/git/1410006656214/plugin.xml'
    at Object.fs.openSync (fs.js:432:18)
    at Object.fs.readFileSync (fs.js:289:15)
    at Object.module.exports.parseElementtreeSync (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/util/xml-helpers.js:121:27)
    at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/plugins.js:88:35
    at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:798:54)
    at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:827:30)
    at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:760:13)
    at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:574:44
    at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)
    at process._tickCallback (node.js:419:13)

```

i tried these commands,

```
cordova plugin add https://github.com/thedracle/cordova-android-chromeview
plugman install --platform android --project scdia_android --plugin http://github.com/thedracle/cordova-android-chromeview
ionic plugin add android

```

but result always error: no such file or directory ‘/tmp/plugman/git/1410006656214/plugin.xml’

how can i add plugin from github? (Absolutely, i already installed git)

---

<div class="post-metadata">

**Author:** ![gnomeontherun](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/gnomeontherun/32/64484_2.png) [@gnomeontherun](https://forum.ionicframework.com/u/gnomeontherun)\
**Post date:** [September 7, 2014, 9:31pm UTC](https://forum.ionicframework.com/t/error-at-add-plugin/9246/2 "2014-09-07T21:31:44Z")

</div>

It looks like the plugin is too old for the current Cordova plugin system. [https://github.com/thedracle/cordova-android-chromeview/issues/5](https://github.com/thedracle/cordova-android-chromeview/issues/5)

You’ll have to find another plugin to achieve the results you are looking for or fork and update this one.

---

<div class="post-metadata">

**Author:** ![sopesewind](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sopesewind](https://forum.ionicframework.com/u/sopesewind)\
**Post date:** [September 8, 2014, 4:49am UTC](https://forum.ionicframework.com/t/error-at-add-plugin/9246/3 "2014-09-08T04:49:57Z")

</div>

Thanks, @gnomeontherun.

one more question.

How do I update the Cordova plugin system?

---

<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 8, 2014, 6:46am UTC](https://forum.ionicframework.com/t/error-at-add-plugin/9246/4 "2014-09-08T06:46:05Z")

</div>

> [@sopesewind](#):
>
> How do I update the Cordova plugin system?

you need to remove then add again . it will update.

---

<div class="post-metadata">

**Author:** ![sopesewind](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sopesewind](https://forum.ionicframework.com/u/sopesewind)\
**Post date:** [September 12, 2014, 10:19am UTC](https://forum.ionicframework.com/t/error-at-add-plugin/9246/5 "2014-09-12T10:19:50Z")

</div>

i can’t understand your answer @shashikant .

i can’t add cordova-chromeview plugin(because it’s too old plugin to apply my project) , so i can’t remove.

---

<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 12, 2014, 10:27am UTC](https://forum.ionicframework.com/t/error-at-add-plugin/9246/6 "2014-09-12T10:27:54Z")

</div>

Using following command, you can remove and add plugin.

cordova plugin rm pluginName  
cordova plugin add pluginName

---

<div class="post-metadata">

**Author:** ![sopesewind](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sopesewind](https://forum.ionicframework.com/u/sopesewind)\
**Post date:** [September 13, 2014, 1:07am UTC](https://forum.ionicframework.com/t/error-at-add-plugin/9246/7 "2014-09-13T01:07:14Z")

</div>

> [@shashikant](#):
>
> cordova plugin rm pluginName  
> cordova plugin add pluginName

i can’t add cordova-webview, so i can’t also remove it.

```
LHCSui-MacBook-Air-2:scdia_android root# cordova plugin rm https://github.com/thedracle/cordova-android-chromeview
Plugin "https://github.com/thedracle/cordova-android-chromeview" is not present in the project. See `cordova plugin list`.
LHCSui-MacBook-Air-2:scdia_android root# cordova plugin list
com.ionic.keyboard 1.0.2 "Keyboard"
org.apache.cordova.console 0.2.9 "Console"
org.apache.cordova.device 0.2.10 "Device"
LHCSui-MacBook-Air-2:scdia_android root# cordova plugin add https://github.com/thedracle/cordova-android-chromeview
Fetching plugin "https://github.com/thedracle/cordova-android-chromeview" via git clone
Error: ENOENT, no such file or directory '/tmp/plugman/git/1410570200996/plugin.xml'
at Object.fs.openSync (fs.js:432:18)
at Object.fs.readFileSync (fs.js:289:15)
at Object.module.exports.parseElementtreeSync (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/util/xml-helpers.js:121:27)
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/plugins.js:88:35
at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:798:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:827:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:760:13)
at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:574:44
at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:419:13)

```

i’m wondering if i upgrade cordova plugin system replace plugin files.

---

<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, 6:03am UTC](https://forum.ionicframework.com/t/error-at-add-plugin/9246/8 "2014-09-13T06:03:13Z")

</div>

Can you try –

cordova plugin rm cordova-android-chromeview

---

<div class="post-metadata">

**Author:** ![sopesewind](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sopesewind](https://forum.ionicframework.com/u/sopesewind)\
**Post date:** [September 14, 2014, 12:23pm UTC](https://forum.ionicframework.com/t/error-at-add-plugin/9246/9 "2014-09-14T12:23:11Z")

</div>

i tried `cordova plugin rm cordova-android-chromeview`, but it has problems.

```
Plugin "cordova-android-chromeview" is not present in the project. See 'cordova pugin list'.
```

---

<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:34am UTC](https://forum.ionicframework.com/t/error-at-add-plugin/9246/10 "2014-09-15T04:34:04Z")

</div>

Can you upload screen short of plugins folder structure ??

---

<div class="post-metadata">

**Author:** ![denisazevedo](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/denisazevedo/32/66227_2.png) [@denisazevedo](https://forum.ionicframework.com/u/denisazevedo)\
**Post date:** [October 12, 2014, 4:09am UTC](https://forum.ionicframework.com/t/error-at-add-plugin/9246/11 "2014-10-12T04:09:11Z")

</div>

I got this exactly error. Installing _plugman_ solved my issue.

Not sure if you already have it installed:

```
npm install -g plugman
```

---

<div class="post-metadata">

**Author:** ![sopesewind](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sopesewind](https://forum.ionicframework.com/u/sopesewind)\
**Post date:** [October 12, 2014, 11:21pm UTC](https://forum.ionicframework.com/t/error-at-add-plugin/9246/12 "2014-10-12T23:21:06Z")

</div>

Thanks for reply, @denisazevedo

but, please read my question once more? i already install plugman.

---

<div class="post-metadata">

**Author:** ![denisazevedo](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/denisazevedo/32/66227_2.png) [@denisazevedo](https://forum.ionicframework.com/u/denisazevedo)\
**Post date:** [October 14, 2014, 6:05am UTC](https://forum.ionicframework.com/t/error-at-add-plugin/9246/13 "2014-10-14T06:05:35Z")

</div>

Hi @sopesewind,  
If this isn’t working, you can try to download the _Crosswalk_ from _[Crosswalk Project](https://crosswalk-project.org/#documentation/downloads)_ and follow this guideline:

[Migrate an existing Cordova application to Crosswalk](https://crosswalk-project.org/#documentation/cordova/migrate_an_application)

Although I haven’t had any error installing the plugin you want, it simply **not** worked here, no errors, nothing.  
Then I went to the solution I described above and it’s working now.

---

<div class="post-metadata">

**Author:** ![sopesewind](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@sopesewind](https://forum.ionicframework.com/u/sopesewind)\
**Post date:** [October 19, 2014, 4:16am UTC](https://forum.ionicframework.com/t/error-at-add-plugin/9246/14 "2014-10-19T04:16:03Z")

</div>

Thanks to reply, @denisazevedo

In fact, the reason I was trying to use this plugin, application created by `ionic build android` is too slow to release application. (especially, if application should support old device (At least Galaxy S))  
Before finding this plugin, i already tried **Crosswalk Project** , **GeckoView** …etc. but it’s to big size, and unstable.

Finally, i made own android web view application(it contain some web view, so try launch application, web view try to load ionic application(just upload server), and load JSON to list database)

ionic is one of the best framework, but sometime if users want legacy support to application, ionic framework is thought seemed to unsuitable
