title: Android NDK Apple SiliconM1 run into: Unknown host CPU architecture arm64
body: <p>There are two kinds to build Android with NDK</p>
  <h2>cmake</h2>
  <pre><code>externalNativeBuild {
      cmake {
          path &quot;../sharedCode/CMakeLists.txt&quot;
      }
  }
  </code></pre>
  <p>This works fine with Apple Silicon M1 </p>
  <h2>ndk-build</h2>
  <pre><code>externalNativeBuild {
      ndkBuild {
          path &quot;src/main/jni/Android.mk&quot;
      }
  }
  </code></pre>
  <p>On a Apple Silicon M1 I run into</p>
  <pre><code>Unknown host CPU architecture arm64
  </code></pre>
  <p>The question is to solve this ?</p>