You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2014/02/14 22:00:19 UTC

[jira] [Resolved] (CB-6044) cordova run android failed

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

Andrew Grieve resolved CB-6044.
-------------------------------

    Resolution: Not A Problem

Error message suggests that you don't have any devices plugged in that are in developer mode. 

You can use `adb devices` to see the list of attached devices that are in developer mode.

> cordova run android failed
> --------------------------
>
>                 Key: CB-6044
>                 URL: https://issues.apache.org/jira/browse/CB-6044
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.3.0
>         Environment: WIN7 / Ubuntu
>            Reporter: bai lee
>            Priority: Critical
>
> $ cordova run android
> Generating config.xml from defaults for platform "android"
> Preparing android project
> Running app on platform "android" via command "cmd" /c c:\Users\lee\test\platfo
> ms\android\cordova\run --device
> c:\Users\lee\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:126
>                     throw e;
>                           ^
> Error: An error occurred while running the android project.
> c:\Users\lee\test\platforms\android\cordova\node_modules\q\q.js:126
>                     throw e;
>                           ^
> ERROR: Failed to launch application on device: ERROR: Failed to install apk to
> evice: ERROR: Failed to deploy to device, no devices found.
>     at ChildProcess.<anonymous> (c:\Users\lee\AppData\Roaming\npm\node_modules\
> ordova\src\run.js:67:22)
>     at ChildProcess.EventEmitter.emit (events.js:98:17)
>     at maybeClose (child_process.js:735:16)
>     at Socket.<anonymous> (child_process.js:948:11)
>     at Socket.EventEmitter.emit (events.js:95:17)
>     at Pipe.close (net.js:466:12)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)