cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Mocny (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-7298) cordova run android --device gives poor error when no device
Date Wed, 13 Aug 2014 12:56:12 GMT
Michal Mocny created CB-7298:
--------------------------------

             Summary: cordova run android --device gives poor error when no device
                 Key: CB-7298
                 URL: https://issues.apache.org/jira/browse/CB-7298
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI
            Reporter: Michal Mocny
            Assignee: Mark Koudritsky
            Priority: Minor


Pretty sure we just need to wrap with CordovaError?

Sample:

/Users/mmocny/dev/cordova/MobileSpec/platforms/android/cordova/node_modules/q/q.js:126
                    throw e;
                          ^
ERROR: Failed to launch application on device: ERROR: Failed to install apk to device: ERROR:
Failed to deploy to device, no devices found.
Error: /Users/mmocny/dev/cordova/MobileSpec/platforms/android/cordova/run: Command failed
with exit code 8
    at ChildProcess.whenDone (/Users/mmocny/dev/cordova/cordova-lib/cordova-lib/src/cordova/superspawn.js:135:23)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:755:16)
    at Process.ChildProcess._handle.onexit (child_process.js:822:5)




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message