Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-2343

Can not add plugin to project using 'cordova plugin add <path>'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • cordova-cli
    • OS X 10.8.2

    Description

      I am unable to add any plugins to my project. To remove variables, I started fresh with a new project:

      > cordova create TestPlugin
      > cd TestPlugin
      > cordova platform add ios
      > cordova platform add android
      > cordova plugin add /Users/Joe/Documents/PGSQLitePlugin

      result-> An error occured during plugin installation for android. Error: failed to add children to res/xml/config.xml

      The plugin was obtained from here: https://github.com/ApplicationCraft/PGSQLitePlugin

      Also, if only the iOS platform is added, the resulting error is 'does not appear to be a PhoneGap project'

      Attachments

        Activity

          People

            filmaj Filip Maj
            mobilejoe Joe Reda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: