Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Starting Android emulator with API 36 hangs while waiting for boot animation [with workaround]

Дата публикации: 27-07-2026 19:53:46


Hello! I’ve run into an issue running the Android emulator (using system image system-images;android-36;google_apis;x86_64) on machine executors (with tag android:2026.05.1) and the latest Android orb. Running android/start_emulator_and_run_tests would result in hanging at the “Waiting for boot antimation…” step.
This doesn’t appear to happen on emulators running API 35.
I dug in a little bit and was able to put together a workaround for my team. What was happening here is that circle-android wait-for-boot was polling with adb for a system property (init.svc.bootanim) to return the completed string. Two things combined to make this hang forever:
By default, Circle configures emulators to start without a boot animation (for speed, which is a good thing).
It appears that as of API 36, if the boot animation isn’t run, the system property itself isn’t populated at all. I couldn’t find documentation of this change (so who knows if it’s intentional), but you can see the difference on Circle in an API 35 vs API 36 emulator by running adb shell getprops to see a list of all system properties. init.svc.bootanim is present on 35 even if it was booted without animation, and isn’t on 36.
My workaround here was just removing the line that waits for the boot animation in circle-android. The next line in that script polls for the actual system boot completion, which does appear reliably indicate that that the system has… booted.
sudo sed -i "s/wait_for_sys_prop('Boot animation complete', 'init.svc.bootanim', 'stopped')//" /usr/local/bin/circle-android
Doing this is, of course, fragile, so wanted to pass this on so y’all can take a look upstream!
1 post - 1 participant
Read full topic

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1My javacode checked out by circleci is not found when I use Dockerfile08.218-07-2026
2Help debugging cancelled runners on main branch07.1720-07-2026
3403 CloudFront Error While Accessing CircleCI Web UI0827-07-2026
4Our support portal is changing— here’s what to know06.7624-07-2026
5Sbt launcher fails with HTTP 429 from Maven Central010.6622-07-2026
6New Slack Notification Integration (beta) - not generating notifications after configuration04.128-07-2026
7"Федор" не смог зайти в Google из-за проверки на роботов0029-10-2019
8Android 17 Is Live on Pixel, but Samsung and Other Android Users Still Have to Wait0519-06-2026
9FreeBSD-EN-26:02.arm64010027-01-2026
10FreeBSD-SA-26:39.execve010030-06-2026

Классификация: Пресс-релизы. Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 8.06. Источник: discuss.circleci.com.