Skip to content

docs: use arm64 on x86_64 arch ( thanks to api level 35) #458

@Moumouls

Description

@Moumouls

This is just an issue to track and a note that may help other users.

If your app is only compatible with the ARM architecture, you can still run it on GitHub Actions using ubuntu-latest (x86_64) with API level 35.

API level 35 appears to support ABI translation for both ARM and x86, allowing ARM-only apps to run on an x86_64 emulator.

Here is a working example:

- name: Run Android Emulator with ARM translation
  uses: reactivecircus/android-emulator-runner@v2
  with:
    api-level: 35
    target: google_apis
    arch: x86_64
    profile: pixel_5
    force-avd-creation: false
    emulator-options: -no-snapshot-load -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none -camera-front none
    disable-animations: true
    script: bash scripts/run-automation.sh

I hope this helps!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions