Skip to content

Bump Android emulator from 32.1.9 to 36.4.10#10971

Merged
jonathanpeppers merged 3 commits intomainfrom
dev/bump-emulator-36.4.10
Mar 19, 2026
Merged

Bump Android emulator from 32.1.9 to 36.4.10#10971
jonathanpeppers merged 3 commits intomainfrom
dev/bump-emulator-36.4.10

Conversation

@rmarinho
Copy link
Member

Summary

Bump the Android emulator from 32.1.9 (package 9364964) to 36.4.10 (package 15004761), the current stable release from the Android SDK repository.

Motivation

The old emulator 32.1.9 is unable to fully boot API 36 images — sys.boot_completed never gets set, causing BootAndroidEmulator to time out. This was discovered while testing dotnet run with emulator boot (see #10965).

Changes

  • Configuration.props — Updated EmulatorVersion from 9364964 to 15004761 and EmulatorPkgRevision from 32.1.9 to 36.4.10

Copilot AI review requested due to automatic review settings March 18, 2026 20:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the pinned Android Emulator package used by the repo’s Android toolchain provisioning to a newer stable release, addressing emulator boot issues with API 36 images.

Changes:

  • Bump EmulatorVersion (package id) from 9364964 to 15004761
  • Bump EmulatorPkgRevision from 32.1.9 to 36.4.10

You can also share your feedback on Copilot code review. Take the survey.

@jonathanpeppers
Copy link
Member

Updating the emulator may have somehow found a bug in CoreCLR:

Mono.Android.NET_Tests, Android.RuntimeTests.JnienvArrayMarshaling.GetObjectArray / Release

Error message
Expected: True
But was:  False

Stack trace
   at Android.RuntimeTests.JnienvArrayMarshaling.GetObjectArray()
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack, Void**, ObjectHandleOnStack, BOOL, ObjectHandleOnStack)
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack, Void**, ObjectHandleOnStack, BOOL, ObjectHandleOnStack)
   at System.RuntimeMethodHandle.InvokeMethod(Object, Void**, Signature, Boolean)
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object, BindingFlags)

Having copilot investigate, but I will check in the morning.

rmarinho and others added 3 commits March 19, 2026 18:46
Update to the latest stable emulator (channel-0) from the Android SDK
repository. The old emulator 32.1.9 is unable to fully boot API 36
images (sys.boot_completed never gets set).

Version 36.4.10 (package 15004761) is the current stable release per
https://dl-ssl.google.com/android/repository/repository2-3.xml.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Emulator 36.x requires Vulkan drivers by default. Windows CI agents
lack GPU drivers, causing 'Vulkan Loader ERROR' on startup. Force
software rendering with -gpu swiftshader when running headless on CI.

Note: emulator 36.x renamed 'swiftshader_indirect' to 'swiftshader'.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@rmarinho rmarinho force-pushed the dev/bump-emulator-36.4.10 branch from 3fe21e3 to 6ca50de Compare March 19, 2026 18:46
@jonathanpeppers jonathanpeppers merged commit 552c4b9 into main Mar 19, 2026
6 checks passed
@jonathanpeppers jonathanpeppers deleted the dev/bump-emulator-36.4.10 branch March 19, 2026 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants