title: Android build is failing when trying to build with ndk16
body: <p>I am trying to build arm64 apk with ndk16 using ruby. Why is it failing. It seems to be some jni issue.</p>
  
  <p>I am using gcc compiler toolchain to build the apk</p>
  
  <p>It should build arm64 apk with gcc toolchain.</p>