CircleCI-Public / cimg-android

The CircleCI Android Docker Convenience Image.
MIT License
74 stars 38 forks source link

feat: enable arm64 builds #96

Open ryanbourdais opened 11 months ago

ryanbourdais commented 11 months ago

This supersedes #88

The emulator package in sdkmanager does not support arm64 therefore the sdkmanager "tools" command fails on arm64 builds.

It might be possible to work around this by looking at the following:

https://developer.android.com/studio/releases/emulator#emulator_for_arm64_hosts

Working branch for arm64: https://github.com/CircleCI-Public/cimg-android/tree/arm64-support

ngdbao commented 4 months ago

ARM runner comes with generous memory, I'm trying to switch from AMD to ARM, for testing & bundling AAB and uploading to PlayStore But it seems ARM cimg/android doens't support for now.

WARNING: docker image cimg/android:2023.10-node targets wrong architecture (found amd64 but need [arm64 arm64v8 arm32v7 arm32v6])