title: hello-jni Sample ndk-build fails
body: <p>I'm following the instructions <a href="http://developer.android.com/tools/sdk/ndk/index.html#Samples" rel="nofollow">here</a> for hello-jni sample: </p>
  
  <p>There are a few other questions on SO on this, but none have the same message.</p>
  
  <p>My command line:</p>
  
  <p>I have set environmental variable up for <code>ndkroot</code></p>
  
  <pre><code>From the project dir&gt;%ndkroot%/ndk-build
  Gdbserver : [arm-linux-androideabi-4.4.3] libs/armeabi/gdbserver
  /usr/bin/sh: -c: line1: syntax error: unexpected end of file
  make: *** [libs/armabi/gdbserver] Error 1
  </code></pre>
  
  <p>I have made the build.xml file as instructed and my Android.mk file is untouched, not sure if it should be though:</p>
  
  <pre><code>LOCAL_PATH := $(call my-dir)
  
  include $(CLEAR_VARS)
  
  LOCAL_MODULE    := hello-jni
  LOCAL_SRC_FILES := hello-jni.c
  
  include $(BUILD_SHARED_LIBRARY)
  </code></pre>
  
  <p>I am using NDK 7b.</p>