cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CB-7257) emulate doesn't work for android if a target is specified
Date Mon, 01 May 2017 18:45:04 GMT

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

Joe Bowser reassigned CB-7257:
------------------------------

    Assignee:     (was: sterling gerritz)

> emulate doesn't work for android if a target is specified
> ---------------------------------------------------------
>
>                 Key: CB-7257
>                 URL: https://issues.apache.org/jira/browse/CB-7257
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, CLI
>    Affects Versions: 3.5.0
>         Environment: Mac OSX
>            Reporter: Shawn Freyssonnet-Inder
>            Priority: Minor
>              Labels: emulate
>             Fix For: 3.5.0
>
>
> `cordova run android --emulator` correctly finds a started android emulator and launches
the app in it.
> `cordova run android --emulator --target=emulatorName` does not find the emulator. Rather,
I get the following error:
> ```
> events.js:72
>         throw er; // Unhandled 'error' event
>               ^
> Error: spawn ENOENT
>     at errnoException (child_process.js:1000:11)
>     at Process.ChildProcess._handle.onexit (child_process.js:791:34)
> Error: /Users/shawnfreyssonnet-inder/Work/vigour-js/test/browser/animation/nativeBuildStuff/platforms/android/cordova/run:
Command failed with exit code 8
>     at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/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)
> ```
> The same happens using `cordova emulate android --target=emulatorName`
> In both examples, `emulatorName` matches a name found by running `./platforms/android/cordova/lib/list-emulator-images`



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message