title: Can't get source code to build in JNI folder in Android Studio
body: <p>I am using Android Studio 1.3 with the <a href="http://tools.android.com/tech-docs/new-build-system/gradle-experimental" rel="nofollow">experimental NDK plugin</a> enabled. I have dropped the entire Box2d folder into the jni folder in android studio along with Android.mk and Application.mk. Android studio seems to be completely ignoring the .mk files since when I change them nothing happens. Anyway I'm trying to compile Box2d when I get directoy not found errors. <code>Error:(19, 42) Box2D/Collision/b2BroadPhase.h: No such file or directory</code>. </p>
  
  <p><strong>Android.mk</strong></p>
  
  <pre><code>LOCAL_PATH:= $(call my-dir)
  include $(CLEAR_VARS)
  LOCAL_MODULE:= liquidfun
  
  LOCAL_C_INCLUDES := $(LOCAL_PATH)/Box2D/Collision \
              $(LOCAL_PATH)/Box2D/Collision/Shapes \
              $(LOCAL_PATH)/Box2D/Common \
              $(LOCAL_PATH)/Box2D/Dynamics \
              $(LOCAL_PATH)/Box2D/Dynamics/Contacts \
              $(LOCAL_PATH)/Box2D/Dynamics/Joints \
              $(LOCAL_PATH)/Box2D/Dynamics/Particle \
              $(LOCAL_PATH)/Box2D/Rope
  
  
  
  include $(BUILD_SHARED_LIBRARY)
  </code></pre>
  
  <p><strong>build.gradle</strong></p>
  
  <pre><code>apply plugin: 'com.android.model.application'
  model {
      android {
          compileSdkVersion = 21
          buildToolsVersion = "22.0.1"
  
          defaultConfig.with {
              applicationId = "com.mycompany.mygame"
              minSdkVersion.apiLevel = 15
              targetSdkVersion.apiLevel = 21
              versionCode = 1
              versionName = "1.0"
          }
      }
      android.buildTypes {
          release {
              minifyEnabled = false
              proguardFiles += file('proguard-rules.pro')
          }
      }
      android.ndk {
          moduleName = "liquidfun"
      }
  }
  def liquidFunDir = new File("${projectDir}/src/main/java/com/google/fpl/liquidfun")
  
  task createLiquidFunDir {
      liquidFunDir.mkdirs()
  }
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:22.2.1'
  }
  </code></pre>
  
  <p>Any tips would be much appreciated. Thanks.</p>