title: Eclipse errors when using Android NDK
body: <p>trying to create a new native project for android but running into weird issue. I created a new project and selected 'Android Tools > Add Native Support', then after it's created when I press Run eclipse complains about some problems including jni.h.  I checked that the C/C++ Paths and Symbols were set correctly by the ADT and it appears fine:</p>
  
  <p><img src="https://i.stack.imgur.com/TQ8lK.png" alt="C/C++ Paths and Symbols"></p>
  
  <p>However I get compiler errors in my cpp code from Eclipse. But what's weird is when I run ndk-build on the project through the terminal it works fine, see below:</p>
  
  <p><img src="https://i.stack.imgur.com/npkk7.png" alt="Running ndk-build from Terminal"></p>
  
  <p><img src="https://i.stack.imgur.com/XnlbU.png" alt="Running project from Eclipse"></p>
  
  <p>Also here's the code (jnitest.cpp):</p>
  
  <pre><code>#include &lt;jni.h&gt;
  
  JNIEXPORT jstring JNICALL Java_com_brianrojas_jnitest_MainActivity_echo
      (JNIEnv *env, jobject object, jstring input)
  {
      return input;
  }
  </code></pre>
  
  <p>So it looks like the libraries can build OK but Eclipse just doesn't like it for some reason and won't install the app on my phone.  Any ideas what I'm doin wrong?  Also below is my android eclipse plugin info incase that helps.</p>
  
  <p><img src="https://i.stack.imgur.com/cdjtV.png" alt="Android plugins for Eclipse"></p>