Details
-
Type:
Bug
-
Status: Reopened (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Component/s: android-emulator-plugin
-
Labels:None
-
Environment:Android-Emulator 1.19-SNAPSHOT (from git)
Jenkins 1.438
SDK r15
-
Similar Issues:
Description
Sometimes the emulator will fail to start up, this seems to only (or mostly) happen when snapshots are enabled. When this happens, it'll go in a loop of, until it times out:
$ /opt/android-sdk/platform-tools/adb connect emu:38996,48597 $ /opt/android-sdk/platform-tools/adb -s emulator-38996 shell getprop dev.bootcomplete
This seems to be because sometimes the adb server never moves the device from the "offline" to the "online" status. Forcing a reconnect seems to fix this - like restarting the adb server.
Attachments
Issue Links
- is duplicated by
-
JENKINS-25790 New adb connect command always fails to connect emulator on OS X
-
- Closed
-
-
JENKINS-24817 Android emulator timeout during launch for 4.4 emulators
-
- Closed
-
- is related to
-
JENKINS-23735 Emulator plugin first time build "adb start-server" times out after 5 seconds
-
- Closed
-
I tend to agree with Christopher Orr. Out of the last ~7 builds that were attempted, these were the results:
So this means it does not seem to be affected by the even/odd pairs.