You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Dan OBrien (JIRA)" <ji...@apache.org> on 2014/03/16 00:14:42 UTC

[jira] [Created] (CB-6278) CLONE - Can't add android platform to project

Dan OBrien created CB-6278:
------------------------------

             Summary: CLONE - Can't add android platform to project
                 Key: CB-6278
                 URL: https://issues.apache.org/jira/browse/CB-6278
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 3.4.0
         Environment: Windows 7 Professional x64 
nodeJS 64 bit
            Reporter: Dan OBrien
            Priority: Critical
             Fix For: 3.4.0


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)                                                                                             



--
This message was sent by Atlassian JIRA
(v6.2#6252)