cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan OBrien (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-6278) CLONE - Can't add android platform to project
Date Sat, 15 Mar 2014 23:18:42 GMT

     [ https://issues.apache.org/jira/browse/CB-6278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dan OBrien updated CB-6278:
---------------------------

    Description: 
I cloned issue because I'm experiencing same issue when I try to add any platform.  I checked
folder it's there I can see the bat file but constantly run into this.


C:\Users\>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...
Error: cmd: Command failed with exit code 1                                         
at ChildProcess.whenDone (C:\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)                          
                                                                  

  was:
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)                          
                                                                  

    Environment: Windows Vista 32-bit  (was: Windows 7 Professional x64 
nodeJS 64 bit)

> 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 Vista 32-bit
>            Reporter: Dan OBrien
>            Priority: Critical
>              Labels: android, platform, whitespace, windows
>             Fix For: 3.4.0
>
>
> I cloned issue because I'm experiencing same issue when I try to add any platform.  I
checked folder it's there I can see the bat file but constantly run into this.
> C:\Users\>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...
> Error: cmd: Command failed with exit code 1                                         
> at ChildProcess.whenDone (C:\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)

Mime
View raw message