title: Oculus Mobile SDK sample project error when I try to build :compileReleaseNdk:
body: <p>I encountered some errors below when I try to build sample project of oculus mobile sdk.</p>
  
  <hr>
  
  <p>Error:FAILURE: Build failed with an exception.</p>
  
  <ul>
  <li><p>Where:
  Build file '~/oculus_sdk/ovr_sdk_mobile_1.0.0.1/VrSamples/Native/CinemaSDK/Projects/Android/build.gradle' line: 28</p></li>
  <li><p>What went wrong:
  A problem occurred configuring project ':VrSamples:Native:CinemaSDK:Projects:Android'.</p>
  
  <blockquote>
    <p>Could not get unknown property 'compileReleaseNdk' for project ':VrSamples:Native:CinemaSDK:Projects:Android' of type org.gradle.api.Project.</p>
  </blockquote></li>
  <li><p>Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.</p></li>
  </ul>
  
  <hr>
  
  <p>Someone can fix this problem?</p>
  
  <p>My dev environment is below.</p>
  
  <ul>
  <li>Android studio 2.2</li>
  <li>Android NDK : android-ndk-r12b</li>
  <li>Oculus Mobile SDK : 1.0.0.1</li>
  <li>OSX 10.11.6</li>
  </ul>
  
  <p>And gradle file content that mentioned in Debug message was like this...</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  dependencies {
      compile name: 'VrAppFramework', ext: 'aar'
      compile project(':VrAppSupport:SystemUtils:Projects:AndroidPrebuilt')
      compile project(':VrAppSupport:VrGUI:Projects:AndroidPrebuilt')
      compile project(':VrAppSupport:VrLocale:Projects:AndroidPrebuilt')
      compile project(':VrAppSupport:VrSound:Projects:AndroidPrebuilt')
  }
  
  android {
      compileSdkVersion 19
      buildToolsVersion '24.0.1'
  
      sourceSets {
          main {
              manifest.srcFile 'AndroidManifest.xml'
              java.srcDirs = ['src']
              jniLibs.srcDir 'libs'
              res.srcDirs = ['res']
              assets.srcDirs = ['../../assets']
          }
      }
  }
  
  project.afterEvaluate {
    compileDebugNdk.dependsOn   'NDKBuildDebug'
    compileReleaseNdk.dependsOn 'NDKBuildRelease'
    clean.dependsOn             'NDKBuildClean'
  }
  
  android.applicationVariants.all { variant -&gt;
        variant.outputs.each { output -&gt;
              def alignedOutputFile = output.outputFile
              def unalignedOutputFile = output.packageApplication.outputFile
              def buildTypeName = variant.buildType.name
  
              def finalFileName = rootProject.name + "-" + buildTypeName + ".apk"
              def unAlignedFileName = rootProject.name + "-" + buildTypeName + "-unsigned" + ".apk"
  
              output.packageApplication.outputFile = 
                      new File(unalignedOutputFile.parent, unAlignedFileName)
  
              if (output.zipAlign) {
                  output.outputFile = 
                      new File(alignedOutputFile.parent, finalFileName)
              }
      }
  }
  </code></pre>