Hi,
Previously the step was working fine with emulator launching and booting properly. But suddenly it has stopped working. After creating emulator using AVD manager step. I’m waiting for the device to get booted completely. Which is just not happening.
I have attached the logs as well. I’ve increased the timeout also. Not sure why this has stopped working. My stack is “Android & Docker, On Ubuntu 16.04”
±-----------------------------------------------------------------------------+
| (4) avd-manager@0.9.2 |
±-----------------------------------------------------------------------------+
| id: avd-manager |
| version: 0.9.2 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: go |
| time: 2018-11-19T10:11:17Z |
±-----------------------------------------------------------------------------+
| |
INFO[10:11:17] Start installing (golang) with apt-get
INFO[10:11:17] * [OK] Step dependency (go) installed, available.
Configs:
- Version: 28
- Resolution: 1080x1920
- Density: 420
- Orientation: portrait
- Tag: google_apis
- ABI: x86
- Profile: Nexus 5X
- ID: emulator
- CustomCommandFlags: -no-window -no-audio -debug-init
- Overwrite: true
- CustomConfig:
image.sysdir.1=system-images/android-28/google_apis/x86/
disk.dataPartition.size=1024M
hw.camera.back=emulated
hw.camera.front=emulated
hw.keyboard=yes
hw.gpu.enabled=true
hw.gpu.mode=swiftshader
hw.ramSize=1536
runtime.network.latency=none
runtime.network.speed=full
showDeviceFrame=no
skin.dynamic=yes
skin.path=_no_skin
skin.path.backup=_no_skin
vm.heapSize=384
Ensure sdk packages: [tools platform-tools system-images;android-28;google_apis;x86] - Done
Create AVD - Done
Start emulator - Device with serial: emulator-5554 started
- Done
| |
±–±--------------------------------------------------------------±---------+
| ✓ | avd-manager@0.9.2 | 57 sec |
±–±--------------------------------------------------------------±---------+
▼
±-----------------------------------------------------------------------------+
| (5) wait-for-android-emulator@1.0.4 |
±-----------------------------------------------------------------------------+
| id: wait-for-android-emulator |
| version: 1.0.4 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: go |
| time: 2018-11-19T10:12:15Z |
±-----------------------------------------------------------------------------+
| |
INFO[10:12:15] Start installing (golang) with apt-get
INFO[10:12:15] * [OK] Step dependency (go) installed, available.
Configs:
- emulatorSerial: emulator-5554
- bootTimeout: 1000
- AndroidHome: /opt/android-sdk-linux
Waiting for emulator boot
Checking if device booted…
Checking if device booted…
Checking if device booted…
Checking if device booted…
Running command timed out, retry…
Failed to check emulator boot status, error: * daemon not running; starting now at tcp:5037
- daemon started successfully
error: device offline - exit status 1
| |
±–±--------------------------------------------------------------±---------+
| x | wait-for-android-emulator@1.0.4 (exit code: 1) | 50 sec |
±–±--------------------------------------------------------------±---------+
| Issue tracker: …com/bitrise-steplib/steps-wait-for-android-emulator/issues |
| Source: GitHub - bitrise-steplib/steps-wait-for-android-emulator |
±–±--------------------------------------------------------------±---------+