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

Can't add android platform to project

    XMLWordPrintableJSON

Details

    Description

      It's not possible to add the android platform to a project if your username of Windows contains a white space (e.g. Barack Obama). I have already tested it with a username without any white spaces and there I can successfully add the android platform to a project. I got following error:

      C:\Users\Dennis Nemec\Desktop\fuck>cordova -d platform add android
      Requesting

      {"uri":"https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=snapshot;h=3.4.0;sf=tgz"}

      ...
      Downloading cordova library for android...
      Downloaded, unzipped and extracted 562145 byte response.
      Download complete
      Checking if platform "android" passes minimum requirements...
      Creating android project...
      Running command: cmd args=["/c","C:\\Users\\Dennis Nemec\\.cordova\\lib\\android\\cordova\\3.4.0\\bin\\create","--cli","C:\\Users\\Dennis Nemec\\Desktop\\fuck\\platforms\\android","io.cordova.hellocordova","HelloCordova"]
      Der Befehl "C:\Users\Dennis" ist entweder falsch geschrieben oder
      konnte nicht gefunden werden.
      Command finished with error code 1: cmd /c,C:\Users\Dennis Nemec\.cordova\lib\android\cordova\3.4.0\bin\create,--cli,C:\Users\Dennis Nemec\Desktop\fuck\platforms\android,io.cordova.hellocordova,HelloCordova
      Error: cmd: Command failed with exit code 1
      at ChildProcess.whenDone (C:\Users\Dennis Nemec\AppData\Roaming\npm\node_modules\cordova\src\superspawn.js:112:23)
      at ChildProcess.EventEmitter.emit (events.js:98:17)
      at maybeClose (child_process.js:743:16)
      at Process.ChildProcess._handle.onexit (child_process.js:810:5)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              DennisNC Dennis Nemec
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: