Skip to content

Modify engine v2 recipes to allow passing a version to android emulators via ci.yaml or the config file #137350

@gmackall

Description

@gmackall

I'm trying to change the android emulator tests in the engine to use android 14 (api 34). They currently are defaulting to api 31. From what I can see in the recipes, they currently don't allow configuration of the emulator version in the ci.yaml or the config file.

My understanding based on my limited recipes knowledge is that the version is determined by a parameter passed in to methods in android_virtual_device.py. For this particular test (from what I can tell) we initialize this dependency by calling flutter_deps.enter_contexts(android_virtual_device), which then calls android_virtual_device.py but doesn't pass a version, so it defaults to 31.

For context I've tried a couple of syntaxes here flutter/engine#45737, with no success. Please let me know if I'm missing something!

Metadata

Metadata

Assignees

Labels

team-infraOwned by Infrastructure team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions