title: How to stop gradle from looking for the Android NDK?
body: <p>I have a Android project which <strong>doesn't</strong> use the NDK jet Gradle is looking for the NDK.</p>
  
  <p>Either I get this Error:</p>
  
  <pre><code> No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
  </code></pre>
  
  <p>Or I get this warning:</p>
  
  <pre><code>NDK is missing a "platforms" directory.
  If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /opt/local/share/java/android-sdk-macosx/ndk-bundle.
  If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
  </code></pre>
  
  <p>Even when <code>ANDROID_NDK_HOME</code> and <code>ndk.dir</code> is unset. It there a way to built the system without those annoying messages?</p>