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

Failed to fetch platform cordova-android@~6.3.0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: cordova@7.1.0
    • Fix Version/s: 8.0.0
    • Component/s: cordova-lib
    • Labels:
      None

      Description

      Deleted platform and plugins and did cordova prepare. Got following error:

      Error: Failed to fetch platform cordova-android@~6.3.0
      Probably this is either a connection problem, or platform spec is incorrect.
      Check your connection and platform name/version/URL.
      Failed to get absolute path to installed module

      It works fine when adding individual platform: cordova platform add android
      I have cordova 7.1.0 and it says "Platforms and plugins are now required to have a package.json file" but I don't get package.json file created for platforms when adding platforms. is that a problem too?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sajana Agnosco
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: