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

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

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

bai lee updated CB-6044:
------------------------

    Description: 
$ 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;
                          ^

    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)

  was:
$ 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)


> 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;
>                           ^
>     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)