Skip to content

Build Android gen_snapshot as arm64 binary to run natively on Apple Silicon #152281

@cbracken

Description

@cbracken

On an arm64 Apple Silicon Mac, the published gen_snapshot binaries are x86_64 and therefore run with Rosetta translation.

android-arm-profile/darwin-x64/gen_snapshot
android-arm-release/darwin-x64/gen_snapshot
android-arm64-profile/darwin-x64/gen_snapshot
android-arm64-release/darwin-x64/gen_snapshot
android-x64-profile/darwin-x64/gen_snapshot
android-x64-release/darwin-x64/gen_snapshot

Compile Android gen_snapshot binaries as arm64, and publish in the arm64 Flutter install (artifacts.zip), as well as the macOS desktop artifacts that get curled when upgrading on an arm64 Mac.

macOS issue was #101138
iOS issue was #152280

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listengineflutter/engine related. See also e: labels.platform-androidAndroid applications specificallyplatform-macBuilding on or for macOS specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions