ChildBrowser
ChildBrowser copied to clipboard
Support for cordova-cli - cordova plugin add
Currently, when attempting to install Childbrowser with the command:
cordova plugin add https://github.com/alunny/ChildBrowser.git
I get the following error:
[Error: grafting xml at selector "/cordova/plugins" from "/Users/mattgaunt/Programming/Workspace/device-lab-mobile/platforms/android/res/xml/config.xml" during config install went bad :(]
subscribe
Same problem :-1:
I think the problem is on plugin.xml
<config-file target="res/xml/config.xml" parent="/cordova/plugins">
<plugin name="ChildBrowser"
value="com.phonegap.plugins.childBrowser.ChildBrowser"/>
</config-file>
try to change /cordova/plugins to /plugins
Nope:
[Error: grafting xml at selector "/plugins" from "PRIVATE/platforms/android/res/xml/config.xml" during config install went bad :(]
Did you try to open "PRIVATE/platforms/android/res/xml/config.xml"? config-file markup append its child (here plugin markup) into the targeted file to the "parent" element. Check if there is a plugins element on your res/xml/config.xml
I think that your problem is that you must executed this command with root privileges. Try this: #sudo cordova plugin add https://github.com/alunny/ChildBrowser.git
i have this problem how to solve this?
Try this:
cordova plugin add https://github.com/phonegap-build/ChildBrowser#three-dot-x
This will switch to the three-dot-x branch.