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

cordova 6.1.2 is not working in windows 10

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 6.4.0
    • None
    • OS : windows 10
      cordova : 6.4.0
      android sdk : 25

    Description

      When i add android platform it shows the error.

      D:\workspace\cordova\CordovaProject>cordova platform add android@6.1.2
      Adding android project...
      Creating Cordova project for the Android platform:
      Path: platforms\android
      Package: io.cordova.hellocordova
      Name: CordovaApp
      Activity: MainActivity
      Android target: android-25
      Subproject Path: CordovaLib
      Android project created with cordova-android@6.1.2
      Installing "cordova-plugin-whitelist" for android
      Failed to install 'cordova-plugin-whitelist':Error: cmd: Command failed with exit code ENOENT
      at ChildProcess.whenDone (C:\Users\user3\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-common\src\superspawn.js:169:23)
      at emitOne (events.js:96:13)
      at ChildProcess.emit (events.js:191:7)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:213:12)
      at onErrorNT (internal/child_process.js:367:16)
      at _combinedTickCallback (internal/process/next_tick.js:80:11)
      at process._tickCallback (internal/process/next_tick.js:104:9)
      Error: cmd: Command failed with exit code ENOENT

      I am using android studio.
      How to solve this issue? Please help me?

      Attachments

        Activity

          People

            Unassigned Unassigned
            t.mfazil Fazil T.M
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: