CircleCI-Public / cimg-android

The CircleCI Android Docker Convenience Image.
MIT License
76 stars 39 forks source link

feat: enable arm64 builds #96

Open ryanbourdais opened 1 year ago

ryanbourdais commented 1 year 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 5 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])