title: Android NDK Build failing in mac system but works in windows system
body: <ol>
  <li><p>added NDK path through ADT’s Preference</p></li>
  <li><p>add native support through Android tools</p></li>
  </ol>
  
  <p>I tried searching the internet But I couldn’t find anything useful to solve my problem</p>
  
  <p>It compiles so many c,cpp files for 1 mins then suddently the following error comes up</p>
  
  <pre><code>make: /Users/username/Documents/Android/NDK/android-ndk-r10/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/bin/arm-linux-androideabi-gcc: Command not found
  
  make: *** [obj/local/armeabi-v7a/objs/crypto/cryptlib.o] Error 127
  
  
  &lt;terminated&gt; NDKBuilder [program] /Users/username/Documents/Android/NDK/Android-ndk-r10/ndk-build.cmd
  
  NDKBuilder [program] /Users/username/Documents/Android/NDK/Android-ndk-r10/ndk-build.cmd :                                                                                                         
  line 1: @echo: command not found
  NDKBuilder [program] /Users/username/Documents/Android/NDK/Android-ndk-r10/ndk-build.cmd : 
  line 2: rem: command not found
  NDKBuilder [program] /Users/username/Documents/Android/NDK/Android-ndk-r10/ndk-build.cmd : 
  line 3: call : command not found
  NDKBuilder [program] /Users/username/Documents/Android/NDK/Android-ndk-r10/ndk-build.cmd : 
  line 4: Syntax error near unexpected token ‘(‘
  NDKBuilder [program] /Users/username/Documents/Android/NDK/Android-ndk-r10/ndk-build.cmd : 
  line 5:’If ERRORLEVEL 1 (exit /b 1)’
  </code></pre>
  
  <p>Any help is appreciated !</p>