I’m trying to run Android emulator on macOS Stack (Visual Studio for Mac, stable).
Unfortunately step AVD Manager fails no matter what kind of emulator is chosen. It fails both for x86 emulators as well as for ARM.
In case of x86 emualtors it fails due to HAXM requirements, but in case of ARM it’s unable to download dependencies.
Sample build that failed: https://app.bitrise.io/build/5784a7f0b64ec65c#?tab=log
Log:
INFO[18:32:13] * [OK] Step dependency (go) installed, available.
Configs:
- Version: 26
- Resolution: 240x426
- Density: 120
- Orientation: portrait
- Tag: google_apis
- ABI: armeabi-v7a
- Profile: Nexus 6P
- 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: [tools platform-tools system-images;android-26;google_apis;armeabi-v7a]
Failed to update emulator sdk package, error: exit status 1, output: Loading package information...
Loading local repository...
[ ] 3% Loading local repository...
[ ] 3% Fetch remote repository...
[ ] 3% Fetch remote repository...
[= ] 3% Fetch remote repository...
[= ] 3% Fetch remote repository...
[= ] 3% Fetch remote repository...
[= ] 3% Fetch remote repository...
[= ] 3% Fetch remote repository...
[= ] 3% Fetch remote repository...
[= ] 3% Fetch remote repository...
[= ] 3% Fetch remote repository...
[= ] 3% Fetch remote repository...
[= ] 3% Fetch remote repository...
[= ] 3% Fetch remote repository...
[= ] 3% Fetch remote repository...
[= ] 4% Fetch remote repository...
[= ] 4% Fetch remote repository...
[= ] 4% Fetch remote repository...
[= ] 4% Fetch remote repository...
[= ] 4% Fetch remote repository...
[= ] 4% Fetch remote repository...
[= ] 4% Fetch remote repository...
[= ] 4% Fetch remote repository...
[= ] 4% Fetch remote repository...
Warning: File /Users/vagrant/.android/repositories.cfg could not be loaded.
[= ] 4% Fetch remote repository...
[== ] 5% Fetch remote repository...
[== ] 6% Fetch remote repository...
[== ] 6% Computing updates...
[=== ] 8% Computing updates...
[=== ] 8% Computing updates...
[=== ] 10% Computing updates...
Warning: Failed to find package system-images;android-26;google_apis;armeabi-v7a
[=== ] 10% Computing updates...