title: Android Studio NDK Build trouble Error:Execution failed for task ':app:ndkBuild'
body: <p>I'm using the latest android studio build 1.5 ,since i want to import an eclipse project that needs NDK. My project is working. i try to import org.apache.tools.ant.taskdefs.condition.Os But it's working when i built APK, It's make error:</p>
  
  <pre><code>Error:Execution failed for task ':app:ndkBuild'.
  &gt; A problem occurred starting process 'command 'ndk-build.cmd''
  </code></pre>
  
  <p>My build.gradle:</p>
  
  <pre><code> apply plugin: 'com.android.application'
  import org.apache.tools.ant.taskdefs.condition.Os
  
  android {
      compileSdkVersion 23
      buildToolsVersion "23.0.2"
  
      defaultConfig {
          applicationId "vaeapp.gamecard.vn"
          minSdkVersion 14
          targetSdkVersion 19
          multiDexEnabled = true
          versionCode 4
          versionName "1.3.4"
  
          ndk {
              moduleName "gc"
          }
      }
      task ndkBuild(type: Exec) {
          if (Os.isFamily(Os.FAMILY_WINDOWS)) {
              commandLine 'ndk-build.cmd', '-C', file('src/main').absolutePath
          } else {
              commandLine 'C\\:\\\\Users\\\\Android\\\\AppData\\\\Local\\\\Android\\\\sdk\\\\ndk-bundle', '-C', file('src/main/jni').absolutePath
          }
      }
  
      tasks.withType(JavaCompile) {
          compileTask -&gt; compileTask.dependsOn ndkBuild
      }
  
      repositories {
          jcenter()
          maven { url "https://jitpack.io" }
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      //compile fileTree(dir: 'libs', include: ['*.jar'])
      testCompile 'junit:junit:4.12'
      compile 'com.android.support:multidex:1.0.1'
      compile 'com.android.support:appcompat-v7:23.2.0'
      compile 'com.google.code.gson:gson:2.2.4'
      compile 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2'
      compile 'com.facebook.android:facebook-android-sdk:4.2.0'
      // compile 'com.android.support:appcompat-v7:20.0.0'
  //    compile 'com.google.android.gms:play-services:+'
      compile 'com.google.android.gms:play-services:4.0.30'
      compile files('libs/activation.jar')
      compile files('libs/additionnal.jar')
      compile files('libs/commons-io-2.4.jar')
      compile files('libs/error-reporter.jar')
      //compile files('libs/httpclient-4.0.1.jar')
      compile files('libs/mail.jar')
      compile files('libs/universal-image-loader-1.9.3.jar')
      compile fileTree(dir: 'libs', include: 'Parse-*.jar')
      // compile 'com.parse:parse-android:1.10.1'
      compile 'com.parse.bolts:bolts-android:1.+'
      compile 'com.parse:parse-android:1.+'
  }
  </code></pre>
  
  <p>My local.properties:</p>
  
  <pre><code>ndk.dir=C\:\\Users\\Android\\AppData\\Local\\Android\\sdk\\ndk-bundle
  sdk.dir=C\:\\Users\\Android\\AppData\\Local\\Android\\sdk
  </code></pre>
  
  <p>Please help my fix error. Thanks you so much!</p>