title: Use C++11 In JNI cannot find jni.h
body: <p>I used Android Studio 1.5.1 and android-ndk-r10e
  Before I write some C++11 code and try to compile some C++11 code using android-ndk-r10e, the application is working well.</p>
  
  <pre><code>#include &lt;jni.h&gt;
  extern "C" JNIEXPORT jstring JNICALL Java_com_example_myapplication60_MainActivity_getStringFromNative
          (JNIEnv *, jobject);
  </code></pre>
  
  <p>After I Add -std=c++11 into app build.gradle</p>
  
  <pre><code>apply plugin: 'com.android.application'
  </code></pre>
  
  <p>android {
      compileSdkVersion 23
      buildToolsVersion "23.0.2"</p>
  
  <pre><code>defaultConfig {
      applicationId "com.example.myapplication60"
      minSdkVersion 23
      targetSdkVersion 23
      versionCode 1
      versionName "1.0"
              ndk{
                  moduleName "libJniTest"
                  ldLibs "log"
                  abiFilters "armeabi-v7a"
                  cFlags  "-std=c++11"
                  stl "gnustl_static"
              }
  }
  sourceSets{
      main{
          jniLibs.srcDirs=[]
      }
  }
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      }
  }...
  </code></pre>
  
  <p>Then, the IDE tell me it cannot find jni.h</p>