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

huang updated CB-12615:
-----------------------
    Description: 

this bug will cause cordova unable to find target enviroment because of the 
command error that conflicts with stock android platform.

stock android command is 
'cordova requirements check Android target '
while the current command is
return tryCommand('android list targets --compact', msg)

apparently there is an extra 's' at the back of target.

use cordova create project add android platform, in 
platforms\android\cordova\lib\check_reqs.js 254 line, tryCommand('android list 
targets --compact', msg).

in Android.bat ,This Command is android list target --compact 

  was:
stock android command is 
'cordova requirements check Android target '
while the current command is
return tryCommand('android list targets --compact', msg)

apparently there is an extra 's' at the back of target.


> cordova requirements command different from android stock command
> -----------------------------------------------------------------
>
>                 Key: CB-12615
>                 URL: https://issues.apache.org/jira/browse/CB-12615
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 6.5.0
>         Environment: Windows 10
>            Reporter: huang
>
> this bug will cause cordova unable to find target enviroment because of the 
> command error that conflicts with stock android platform.
> stock android command is 
> 'cordova requirements check Android target '
> while the current command is
> return tryCommand('android list targets --compact', msg)
> apparently there is an extra 's' at the back of target.
> use cordova create project add android platform, in 
> platforms\android\cordova\lib\check_reqs.js 254 line, tryCommand('android 
> list targets --compact', msg).
> in Android.bat ,This Command is android list target --compact 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to