nttld / setup-ndk

Setup your GitHub Actions workflow with a specific version of the Android NDK
MIT License
55 stars 22 forks source link

x86_64 NDK on mac m1 ERROR #553

Closed sisong closed 3 months ago

sisong commented 3 months ago

x86_64 NDK on mac m1 ERROR: Unknown host CPU architecture: arm64

sisong commented 3 months ago

I found someone who said: need changed text in ndk-build file from
$DIR/build/ndk-build "$@" to arch -x86_64 /bin/bash $DIR/build/ndk-build "$@"

raftario commented 3 months ago

Not an issue with the action, and I have no plans of patching the NDK scripts to always properly work with Rosetta