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

Richard B Knoll commented on CB-11081:
--------------------------------------

Thanks for filing and issue! Looks like your environment variables are 
misconfigured. The ones you need to set are given 
[here|http://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html#setting-environment-variables].
 Not sure why our {{check_reqs}} script didn't catch this and give you an 
error, though. Let me know if that helps!

> cordova run android --list give ERROR: Error: adb:
> --------------------------------------------------
>
>                 Key: CB-11081
>                 URL: https://issues.apache.org/jira/browse/CB-11081
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 6.1.1
>         Environment: Ubuntu 15.10, Java(TM) SE Runtime Environment (build 
> 1.8.0_45-b14), android-sdk_r24.4.1-linux, cordova 6.1.1
>            Reporter: Gary Quinn
>
> When running  command: cordova run android --list
> I get the following error:
> Available android devices:
> ERROR: Error: adb: Command failed with exit code ENOENT
> An unexpected error has occured while running list-devices with code 2: 
> Error: 
> /data/Projects/bitbucket/quinn.co.za/personal-web-cordova/platforms/android/cordova/lib/list-devices:
>  Command failed with exit code 2
> Available android virtual devices:
> ERROR: Error: android: Command failed with exit code ENOENT
> An unexpected error has occured while running list-emulator-images with code 
> 2: Error: 
> /data/Projects/bitbucket/quinn.co.za/personal-web-cordova/platforms/android/cordova/lib/list-emulator-images:
>  Command failed with exit code 2



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

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

Reply via email to