# AVD manager does not go to next step

**URL:** <https://discuss.bitrise.io/t/avd-manager-does-not-go-to-next-step/6640>\
**Category:** Builds\
**Created:** [October 30, 2018, 10:22am UTC](https://discuss.bitrise.io/t/avd-manager-does-not-go-to-next-step/6640 "2018-10-30T10:22:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nadzic](https://avatars.discourse-cdn.com/v4/letter/n/2bfe46/32.png) [@nadzic](https://discuss.bitrise.io/u/nadzic)\
**Post date:** [October 30, 2018, 10:22am UTC](https://discuss.bitrise.io/t/avd-manager-does-not-go-to-next-step/6640/1 "2018-10-30T10:22:10Z")

</div>

## Description of the issue

In the tests flow we are trying to run both ios and android e2e detox tests. In the tests flow we have Avd manager step to boot android emulator for run e2e tests, which does not go to next step and then the app is aborted after 90 minutes. Logs are below.

## Environment:

Stack: Previous Hybris (Xamarin, Ionic, …)  
Avd Manager: android-25;google\_apis;armeabi-v7a

**Which build Step causes the issue and which version of the step?**

Build step: Avd Manager

## Build log

> **[Log in - Bitrise](https://app.bitrise.io/users/sign_in)**
>
> Bringing back the joy of iOS & Android development through automating build, testing and support cycles.

I have enabled support, so you can check what is wrong.

## Logs here

Switching to workflow: detox-e2e-android-tests  
±-----------------------------------------------------------------------------+

| (0) avd-manager@0.9.1 |  
±-----------------------------------------------------------------------------+  
| id: avd-manager |  
| version: 0.9.1 |  
| collection: [GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib](https://github.com/bitrise-io/bitrise-steplib.git) |  
| toolkit: go |  
| time: 2018-10-29T13:37:42-07:00 |  
±-----------------------------------------------------------------------------+  
| |  
INFO[13:37:42] \* [OK] Step dependency (go) installed, available.  
Configs:

- Version: 25
- Resolution:
- Density: 120
- Orientation: portrait
- Tag: google\_apis
- ABI: armeabi-v7a
- Profile: Nexus 5X
- ID: emulator
- CustomCommandFlags: -no-window -no-audio -debug-init
- Overwrite: true
- CustomConfig:  
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: [emulator tools platform-tools system-images;android-25;google\_apis;armeabi-v7a]
- Done  
Create AVD
- Done  
Start emulator  
Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release.  
emulator: Android virtual device file at: /Users/vagrant/.android/avd/emulator.ini  
emulator: virtual device content at /Users/vagrant/.android/avd/emulator.avd  
emulator: virtual device config file: /Users/vagrant/.android/avd/emulator.avd/config.ini  
emulator: using core hw config path: /Users/vagrant/.android/avd/emulator.avd/hardware-qemu.ini  
emulator: using snapshot lock path: /Users/vagrant/.android/avd/emulator.avd/snapshot.lock  
emulator: Found AVD target API level: 25  
emulator: Read property file at /Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx/system-images/android-25/google\_apis/armeabi-v7a//build.prop  
emulator: No boot.prop property file found.  
emulator: Warning: config.ini contains invalid skin.path entry: \_no\_skin  
emulator: autoconfig: -skin 1080x1920  
emulator: autoconfig: -skindir (null)  
emulator: autoconfig: -kernel /Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx/system-images/android-25/google\_apis/armeabi-v7a//kernel-ranchu  
emulator: Auto-detect: Kernel image requires new device naming scheme.  
emulator: Auto-detect: Kernel does not support YAFFS2 partitions.  
emulator: autoconfig: -ramdisk /Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx/system-images/android-25/google\_apis/armeabi-v7a//ramdisk.img  
emulator: Using initial system image: /Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx/system-images/android-25/google\_apis/armeabi-v7a//system.img  
emulator: No vendor image  
emulator: autoconfig: -initdata /Users/vagrant/.android/avd/emulator.avd/userdata.img  
emulator: autoconfig: -cache /Users/vagrant/.android/avd/emulator.avd/cache.img  
emulator: autoconfig: -sdcard /Users/vagrant/.android/avd/emulator.avd/sdcard.img  
emulator: Physical RAM size: 1536MB  
emulator: VM heap size 384MB is above maximum supported 192MB, setting it to that value  
emulator: System image is read only  
emulator: Found 4 DNS servers: 8.8.8.8 8.8.4.4 4.2.2.3 4.2.2.4  
emulator: found magic skin width=1080 height=1920 bpp=16  
emulator: Creating ext4 userdata partition: /Users/vagrant/.android/avd/emulator.avd/data  
Creating filesystem with parameters:  
Size: 1073741824  
Block size: 4096  
Blocks per group: 32768  
Inodes per group: 8192  
Inode size: 256  
Journal blocks: 4096  
Label:  
Blocks: 262144  
Block groups: 8  
Reserved block group size: 63  
Created filesystem with 60/65536 inodes and 12619/262144 blocks  
emulator: WARNING: encryption is off  
emulator: Creating empty ext4 cache partition: /Users/vagrant/.android/avd/emulator.avd/cache.img  
Creating filesystem with parameters:  
Size: 69206016  
Block size: 4096  
Blocks per group: 32768  
Inodes per group: 4224  
Inode size: 256  
Journal blocks: 1024  
Label:  
Blocks: 16896  
Block groups: 1  
Reserved block group size: 7  
Created filesystem with 11/4224 inodes and 1302/16896 blocks  
emulator: GPU emulation enabled using ‘swiftshader’ mode  
emulator: Initializing hardware OpenGLES emulation support  
emulator: Found 4 DNS servers: 8.8.8.8 8.8.4.4 4.2.2.3 4.2.2.4  
Content of hardware configuration file:  
hw.cpu.arch = arm  
hw.cpu.model = cortex-a8  
hw.cpu.ncore = 2  
hw.ramSize = 1536  
hw.screen = multi-touch  
hw.mainKeys = false  
hw.trackBall = false  
hw.keyboard = true  
hw.keyboard.lid = false  
hw.keyboard.charmap = qwerty2  
hw.dPad = false  
hw.rotaryInput = false  
hw.gsmModem = true  
hw.gps = true  
hw.battery = true  
hw.accelerometer = true  
hw.gyroscope = true  
hw.audioInput = true  
hw.audioOutput = true  
hw.sdCard = true  
hw.sdCard.path = /Users/vagrant/.android/avd/emulator.avd/sdcard.img  
disk.cachePartition = true  
disk.cachePartition.path = /Users/vagrant/.android/avd/emulator.avd/cache.img  
disk.cachePartition.size = 66m  
test.quitAfterBootTimeOut = -1  
hw.lcd.width = 1080  
hw.lcd.height = 1920  
hw.lcd.depth = 16  
hw.lcd.density = 120  
hw.lcd.backlight = true  
hw.gpu.enabled = true  
hw.gpu.mode = swiftshader  
hw.gpu.blacklisted = no  
hw.initialOrientation = Portrait  
hw.camera.back = emulated  
hw.camera.front = emulated  
vm.heapSize = 192  
hw.sensors.light = true  
hw.sensors.pressure = true  
hw.sensors.humidity = true  
hw.sensors.proximity = true  
hw.sensors.magnetic\_field = true  
hw.sensors.magnetic\_field\_uncalibrated = true  
hw.sensors.gyroscope\_uncalibrated = true  
hw.sensors.orientation = true  
hw.sensors.temperature = true  
hw.useext4 = true  
hw.arc = false  
hw.arc.autologin = false  
kernel.path = /Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx/system-images/android-25/google\_apis/armeabi-v7a//kernel-ranchu  
kernel.newDeviceNaming = yes  
kernel.supportsYaffs2 = no  
disk.ramdisk.path = /Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx/system-images/android-25/google\_apis/armeabi-v7a//ramdisk.img  
disk.systemPartition.initPath = /Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx/system-images/android-25/google\_apis/armeabi-v7a//system.img  
disk.systemPartition.size = 2g  
disk.vendorPartition.size = 0  
disk.dataPartition.path = /Users/vagrant/.android/avd/emulator.avd/userdata-qemu.img  
disk.dataPartition.initPath = /Users/vagrant/.android/avd/emulator.avd/userdata.img  
disk.dataPartition.size = 1g  
PlayStore.enabled = false  
avd.name = emulator  
fastboot.forceColdBoot = false  
.  
QEMU options list:  
emulator: argv[00] = “/Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx/emulator/qemu/darwin-x86\_64/qemu-system-armel”  
emulator: argv[01] = “-dns-server”  
emulator: argv[02] = “8.8.8.8,8.8.4.4,4.2.2.3,4.2.2.4”  
emulator: argv[03] = “-no-audio”  
emulator: argv[04] = “-serial”  
emulator: argv[05] = “null”  
emulator: argv[06] = “-device”  
emulator: argv[07] = “goldfish\_pstore,addr=0xff018000,size=0x10000,file=/Users/vagrant/.android/avd/emulator.avd/data/misc/pstore/pstore.bin”  
emulator: argv[08] = “-cpu”  
emulator: argv[09] = “cortex-a15”  
emulator: argv[10] = “-machine”  
emulator: argv[11] = “type=ranchu”  
emulator: argv[12] = “-m”  
emulator: argv[13] = “1536”  
emulator: argv[14] = “-lcd-density”  
emulator: argv[15] = “120”  
emulator: argv[16] = “-nodefaults”  
emulator: argv[17] = “-kernel”  
emulator: argv[18] = “/Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx/system-images/android-25/google\_apis/armeabi-v7a//kernel-ranchu”  
emulator: argv[19] = “-initrd”  
emulator: argv[20] = “/Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx/system-images/android-25/google\_apis/armeabi-v7a//ramdisk.img”  
emulator: argv[21] = “-drive”  
emulator: argv[22] = “index=0,id=sdcard,file=/Users/vagrant/.android/avd/emulator.avd/sdcard.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576”  
emulator: argv[23] = “-device”  
emulator: argv[24] = “virtio-blk-device,drive=sdcard”  
emulator: argv[25] = “-drive”  
emulator: argv[26] = “index=1,id=userdata,file=/Users/vagrant/.android/avd/emulator.avd/userdata-qemu.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576”  
emulator: argv[27] = “-device”  
emulator: argv[28] = “virtio-blk-device,drive=userdata”  
emulator: argv[29] = “-drive”  
emulator: argv[30] = “index=2,id=cache,file=/Users/vagrant/.android/avd/emulator.avd/cache.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576”  
emulator: argv[31] = “-device”  
emulator: argv[32] = “virtio-blk-device,drive=cache”  
emulator: argv[33] = “-drive”  
emulator: argv[34] = “index=3,id=system,file=/Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx/system-images/android-25/google\_apis/armeabi-v7a//system.img,read-only”  
emulator: argv[35] = “-device”  
emulator: argv[36] = “virtio-blk-device,drive=system”  
emulator: argv[37] = “-netdev”  
emulator: argv[38] = “user,id=mynet”  
emulator: argv[39] = “-device”  
emulator: argv[40] = “virtio-net-device,netdev=mynet”  
emulator: argv[41] = “-device”  
emulator: argv[42] = “virtio-rng-device”  
emulator: argv[43] = “-show-cursor”  
emulator: argv[44] = “-nographic”  
emulator: argv[45] = “-monitor”  
emulator: argv[46] = “none”  
emulator: argv[47] = “-L”  
emulator: argv[48] = “/Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx/emulator/lib/pc-bios”  
emulator: argv[49] = “-append”  
emulator: argv[50] = “qemu=1 no\_timer\_check androidboot.hardware=ranchu keep\_bootcon earlyprintk=ttyAMA0 android.qemud=1 console=0 android.checkjni=1 qemu.gles=1 qemu.opengles.version=131072 cma=288M@0-4G ndns=4 qemu.wifi=1 mac80211\_hwsim.channels=2 loop.max\_part=7 ramoops.mem\_address=0xff018000 ramoops.mem\_size=0x10000 memmap=0x10000$0xff018000 qemu.dalvik.vm.heapsize=192m”  
emulator: argv[51] = “-android-hw”  
emulator: argv[52] = “/Users/vagrant/.android/avd/emulator.avd/hardware-qemu.ini”  
Concatenated QEMU options:  
/Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx/emulator/qemu/darwin-x86\_64/qemu-system-armel -dns-server 8.8.8.8,8.8.4.4,4.2.2.3,4.2.2.4 -no-audio -serial null -device goldfish\_pstore,addr=0xff018000,size=0x10000,file=/Users/vagrant/.android/avd/emulator.avd/data/misc/pstore/pstore.bin -cpu cortex-a15 -machine type=ranchu -m 1536 -lcd-density 120 -nodefaults -kernel /Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx/system-images/android-25/google\_apis/armeabi-v7a//kernel-ranchu -initrd /Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx/system-images/android-25/google\_apis/armeabi-v7a//ramdisk.img -drive index=0,id=sdcard,file=/Users/vagrant/.android/avd/emulator.avd/sdcard.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-device,drive=sdcard -drive index=1,id=userdata,file=/Users/vagrant/.android/avd/emulator.avd/userdata-qemu.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-device,drive=userdata -drive index=2,id=cache,file=/Users/vagrant/.android/avd/emulator.avd/cache.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-device,drive=cache -drive index=3,id=system,file=/Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx/system-images/android-25/google\_apis/armeabi-v7a//system.img,read-only -device virtio-blk-device,drive=system -netdev user,id=mynet -device virtio-net-device,netdev=mynet -device virtio-rng-device -show-cursor -nographic -monitor none -L /Users/vagrant/Library/Developer/Xamarin/android-sdk-macosx/emulator/lib/pc-bios -append ‘qemu=1 no\_timer\_check androidboot.hardware=ranchu keep\_bootcon earlyprintk=ttyAMA0 android.qemud=1 console=0 android.checkjni=1 qemu.gles=1 qemu.opengles.version=131072 cma=288M@0-4G ndns=4 qemu.wifi=1 mac80211\_hwsim.channels=2 loop.max\_part=7 ramoops.mem\_address=0xff018000 ramoops.mem\_size=0x10000 memmap=0x10000$0xff018000 qemu.dalvik.vm.heapsize=192m’ -android-hw /Users/vagrant/.android/avd/emulator.avd/hardware-qemu.ini  
emulator: Android qemu version 27.3.10.0 (build\_id 4969155) (CL:751f3c993c814a52adf144c159615ce457c2d282)  
emulator: Starting QEMU main loop  
emulator: registered ‘boot-properties’ qemud service  
emulator: Adding boot property: ‘ro.opengles.version’ = ‘131072’  
emulator: Adding boot property: ‘qemu.sf.fake\_camera’ = ‘both’  
emulator: Adding boot property: ‘dalvik.vm.heapsize’ = ‘192m’  
emulator: Adding boot property: ‘qemu.hw.mainkeys’ = ‘0’  
emulator: Adding boot property: ‘qemu.sf.lcd\_density’ = ‘120’  
emulator: goldfish\_events.have-dpad: false  
emulator: goldfish\_events.have-trackball: false  
emulator: goldfish\_events.have-camera: true  
emulator: goldfish\_events.have-keyboard: true  
emulator: goldfish\_events.have-lidswitch: false  
emulator: goldfish\_events.have-tabletmode: false  
emulator: goldfish\_events.have-touch: false  
emulator: goldfish\_events.have-multitouch: true  
emulator: control console listening on port 5554, ADB on port 5555  
Not using any http proxy  
emulator: Adding boot property: ‘qemu.timezone’ = ‘America/Los\_Angeles’  
emulator: android\_hw\_fingerprint\_init: fingerprint qemud listen service initialized  
Your emulator is out of date, please update by launching Android Studio:
- Start Android Studio
- Select menu “Tools \> Android \> SDK Manager”
- Click “SDK Tools” tab
- Check “Android Emulator” checkbox
- Click “OK”  
emulator: onGuestSendCommand: [0x7f934ef4f760] Adb connected, start proxing data
- Device with serial: emulator-5554 started
- Done  
emulator: \_hwFingerprint\_connect: connect finger print listen is called  
emulator: got message from guest system fingerprint HAL

So it stucks here and does not go next step (start building and running detox e2e tests) and is aborted after 90 mins.

---

<div class="post-metadata">

**Author:** ![LyraNetwork](https://avatars.discourse-cdn.com/v4/letter/l/74df32/32.png) [@LyraNetwork](https://discuss.bitrise.io/u/LyraNetwork)\
**Post date:** [November 9, 2018, 4:30pm UTC](https://discuss.bitrise.io/t/avd-manager-does-not-go-to-next-step/6640/2 "2018-11-09T16:30:54Z")

</div>

I have the same issue! ☹  
A workaround exists?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [December 9, 2018, 4:31pm UTC](https://discuss.bitrise.io/t/avd-manager-does-not-go-to-next-step/6640/3 "2018-12-09T16:31:02Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
