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

`cordova platform update android` does not update the Android platform project correctly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: None
    • Labels:
    • Environment:

      Mac OS X 10.9.1 Mavericks; node v0.10.24; Cordova 3.3.1-0.1.2

      Description

      Running `cordova platform update android` using Cordova 3.3.1-0.1.2 does not update correctly because CordovaLib is not created in the project.

      Previously running Cordova 3.2.0-0.4.0, I upgraded Cordova via `sudo npm update cordova`, which executed fine. Then I updated my project using the above command - it executed fine (no errors produced via the CLI). Opening Eclipse, and '<proj_name>-CordovaLib' was missing (which I've verified is needed after setting up a default 3.3.1 default project).

      The Eclipse project does not compile because CordovaLib is where the org.apache.cordova.* package resides.

        Attachments

          Activity

            People

            • Assignee:
              agrieve Andrew Grieve
              Reporter:
              keldar Kelvin Dart
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: