title: Which version of NDK should I use with a Titanium Android module?
body: <p>According to the <a href="https://github.com/appcelerator/titanium_mobile/blob/master/android/package.json#L22" rel="nofollow noreferrer">source</a> and <a href="https://wiki.appcelerator.org/display/guides2/Installing+the+Android+NDK" rel="nofollow noreferrer">wiki</a>, Titanium requires r9 of the Android NDK. But in the <a href="https://developer.android.com/ndk/downloads/older_releases.html" rel="nofollow noreferrer">Android archives</a>, the oldest version available is r10e (May 2015). The current version is r14b.</p>
  
  <p>With r14b (and r13b) I get compilation failures from ndk-build involving a C++ type mismatch.</p>
  
  <p><code>
  [ERROR] /Users/jdee/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/native/include/AndroidUtil.h:57:49: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
  </code></p>
  
  <p>I can compile a module cleanly using r10e, r11c and r12b, but I'm hesitant to release something with an unsupported NDK version. It seems strange that Titanium requires a version of NDK from 2014 as well. I'm not sure which version to use.</p>