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

Braden Shepherdson commented on CB-4285:
----------------------------------------

Good point that we should probably check for the AVD or device version against 
the minimum in the app.

It turns out from some poking around I did that the emulate script is using 
shelljs.exec's synchronous mode. This is slow and leaks filehandles like crazy, 
fast enough to cause EMFILE on Mac OS sometimes. It need to be replaced with 
async child_process.exec(), but has not been, yet.
                
> Windows cordova emulate command doesn't install project
> -------------------------------------------------------
>
>                 Key: CB-4285
>                 URL: https://issues.apache.org/jira/browse/CB-4285
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, CLI
>         Environment: Windows 7
>            Reporter: Lisa Seacat DeLuca
>            Assignee: Braden Shepherdson
>
> I am able to add the android platform to a test cordova cli project and build 
> just fine.  When i go to run on an emulator the emulator opens but the 
> project is never installed.  This is the very simple case, no plugins were 
> added.
> C:\workspaces\cordovacli\helloworld>cordova -d emulate android
> cordova library for "android" already exists. No need to download. Continuing.
> Wrote out Android application name to "helloworld"
> Wrote out Android package name to "com.helloworld"
> Calling plugman.prepare for platform "android"
> Preparing android project...
> Processing configuration changes for plugins.
> Iterating over installed plugins: []
> Writing out cordova_plugins.js...
> Running on emulator for platform "android" via command 
> ""C:\workspaces\cordovacli\helloworld\platforms\android\cordova\run" 
> --emulator" (output to fol
> low)...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to