You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/26 11:17:18 UTC

[jira] [Commented] (CB-10669) cordova run --list cannot find 'adb'

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

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

GitHub user daserge opened a pull request:

    https://github.com/apache/cordova-android/pull/263

    CB-10669 cordova run --list cannot find 'adb'

    [Jira issue](https://issues.apache.org/jira/browse/CB-10669)

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

    $ git pull https://github.com/MSOpenTech/cordova-android CB-10669

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

    https://github.com/apache/cordova-android/pull/263.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 #263
    
----
commit db1fb49550ceb4700b970e7bc49f272dc1fd9b55
Author: daserge <v-...@microsoft.com>
Date:   2016-02-26T10:14:42Z

    CB-10669 cordova run --list cannot find 'adb'

----


> cordova run --list cannot find 'adb'
> ------------------------------------
>
>                 Key: CB-10669
>                 URL: https://issues.apache.org/jira/browse/CB-10669
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>            Reporter: Nikhil Khandelwal
>            Assignee: Sergey Shakhnazarov
>              Labels: mustfix, triaged
>
> {code}
> λ cordova run --list --verbose
> Available android devices:
> Running command: cmd "/s /c "d:\apps\testApp\platforms\android\cordova\lib\list-devices.bat""
> ERROR: Error: cmd: Command failed with exit code 1 Error output:
> 'adb' is not recognized as an internal or external command,
> operable program or batch file.
> Command finished with error code 2: cmd /s /c "d:\apps\testApp\platforms\android\cordova\lib\list-devices.bat"
> An unexpected error has occured while running list-devices with code 2: Error: cmd: Command failed with exit code 2
> Available android virtual devices:
> Running command: cmd "/s /c "d:\apps\testApp\platforms\android\cordova\lib\list-emulator-images.bat""
> ERROR: 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.
> Command finished with error code 2: cmd /s /c "d:\apps\testApp\platforms\android\cordova\lib\list-emulator-images.bat"
> An unexpected error has occured while running list-emulator-images with code 2: Error: cmd: Command failed with exit code 2
> {code}
> The problem here is that even though cordova build & cordova run find ANDROID_HOME directory using some heuristics `--list` commands do not. We should fix this to work.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org