[
https://issues.apache.org/jira/browse/CB-9172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14608482#comment-14608482
]
ASF GitHub Bot commented on CB-9172:
------------------------------------
GitHub user alsorokin opened a pull request:
https://github.com/apache/cordova-android/pull/188
CB-9172 Improved emulator deploy stability
This is a fix for https://issues.apache.org/jira/browse/CB-9172
- Use UUID to distinguish between launched emulators
- Wait for android.process.acore instead of init.svc.bootanim on emulator
boot
- Increased retry timeout when installing app to the emulator
- If there is already a started/starting emulator, wait for it's boot
instead of trying to deploy to it right away
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-android CB-9172
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-android/pull/188.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 #188
----
commit e3bbea0135ede7130e42c311b4a316765db0ac76
Author: alsorokin <[email protected]>
Date: 2015-06-30T15:09:24Z
CB-9172 Improved emulator deploy stability
- Use UUID to distinguish between launched emulators
- Wait for android.process.acore instead of init.svc.bootanim on emulator
boot
- Increased retry timeout when installing app to the emulator
- If there is already a started/starting emulator, wait for it's boot
instead of trying to deploy to it right away
----
> Android "cordova run" sometimes locks up the emulator
> -----------------------------------------------------
>
> Key: CB-9172
> URL: https://issues.apache.org/jira/browse/CB-9172
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: Master
> Environment: Android on OSX and Windows
> Reporter: Dmitry Blotsky
> Labels: adb, android
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> ADB commands used in "cordova run" for Android don't always wait for proper
> success conditions on Android, sometimes calling operations at the wrong
> time. For example, sometimes installation happens too soon after emulator
> boot, and the emulator locks up.
> The implementation of "cordova run" for Android should be made more robust. A
> reference implementation can be found in the Jenkins Android code, here:
> https://github.com/jenkinsci/android-emulator-plugin/blob/master/src/main/java/hudson/plugins/android_emulator/InstallBuilder.java.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]