[
https://issues.apache.org/jira/browse/CB-9489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15364229#comment-15364229
]
ASF GitHub Bot commented on CB-9489:
------------------------------------
GitHub user alsorokin opened a pull request:
https://github.com/apache/cordova-android/pull/314
CB-9489 Fixed "endless waiting for emulator" issue
https://issues.apache.org/jira/browse/CB-9489
Only emulators with API level 22+ was affected by this.
Fixed by changing the wait logic: we don't poll every started emulator
anymore. Instead, we're launching the emulator on a specific port and poll only
this instance, waiting for boot to complete.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/alsorokin/cordova-android CB-9489
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-android/pull/314.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #314
----
commit f1c185b771a4a3ec5224f2c7b327edb6b3882a61
Author: Alexander Sorokin <[email protected]>
Date: 2016-07-06T12:12:36Z
CB-9489 Fixed "endless waiting for emulator" issue
----
> "cordova run android", "Waiting for emulator..." waits forever...
> -----------------------------------------------------------------
>
> Key: CB-9489
> URL: https://issues.apache.org/jira/browse/CB-9489
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 5.1.1
> Environment: Windows 10 Enterprise 64 bits, new empty project, Android
> Reporter: Diego Geffner
> Labels: triaged
>
> I try to run the project in android, and it waits forever, and it never ends
> waiting (the emulator is not appearing):
> >cordova run android
> Running command: cmd "/s /c
> "C:\Users\user\my_project\platforms\android\cordova\run.bat""
> ANDROID_HOME=C:\Users\user\AppData\Local\Android\sdk
> JAVA_HOME=C:\Program Files (x86)\java\jdk1.7.0_55
> WARNING : No target specified, deploying to emulator
> WARNING : no emulator specified, defaulting to
> AVD_GalaxyNexus_ToolsForApacheCordova
> Waiting for emulator...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]