Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
3.4.0
-
Windows 7 Professional x64
nodeJS 64 bit
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
...
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
- is cloned by
-
CB-6278 CLONE - Can't add android platform to project
- Closed