[ 
https://issues.apache.org/jira/browse/CB-10235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15136100#comment-15136100
 ] 

ASF GitHub Bot commented on CB-10235:
-------------------------------------

GitHub user ktop opened a pull request:

    https://github.com/apache/cordova-lib/pull/379

    CB-10235 Added clearer error message for info command

    When using the cordova info command, if Android isn't set up properly, then 
the error message printed out isn't too helpful. I added to the error message 
to tell users to make sure they have the path of Android SDK tools and 
platform-tools in their PATH environment variable. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ktop/cordova-lib cb-10235

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-lib/pull/379.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #379
    
----
commit 8c2111390da3e793651fb0b89e91b9d306ff338a
Author: Karen Tran <[email protected]>
Date:   2016-02-07T02:15:22Z

    CB-10235 Added clearer error message for info command

----


> Add clearer error message for info command when Android SDK is setup 
> incorrectly
> --------------------------------------------------------------------------------
>
>                 Key: CB-10235
>                 URL: https://issues.apache.org/jira/browse/CB-10235
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android, CordovaLib
>    Affects Versions: Master
>         Environment: Android
>            Reporter: Karen Tran
>            Priority: Minor
>              Labels: android, info, triaged
>             Fix For: Master
>
>
> Issuing a 'cordova info' command without having the Android SDK setup 
> correctly prints an unhelpful error message. 
> Error retrieving Android platform information: Error: cmd: Command failed 
> with exit code 1 Error output: 'android' is not recognized as an internal or 
> external command, operable program or batch file.
> Should add a message to make sure Android SDK tools and platform-tools 
> directories are added to the PATH variable. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to