title: execution failed for task ':app:compileDebugNdk' failed to run this command ndk-build.cmd
body: <pre><code>Error:Execution failed for task ':app:compileDebugNdk'.
  </code></pre>
  
  <blockquote>
    <p>com.android.ide.common.internal.LoggedErrorException: Failed to run command:
        C:\Program Files\ADT\sdk\android-ndk\ndk-build.cmd NDK_PROJECT_PATH=null </p>
  </blockquote>
  
  <pre><code>Error Code:
  1
  </code></pre>
  
  <p>this is the output I get when trying to run a make on my project on android studio.
  I'm on android studio 1.0 
  sdk build tools 24.0 but targeting API 14</p>
  
  <p>this is what my Android.mk file looks like</p>
  
  <pre><code> LOCAL_PATH := $(call my-dir)
  
   include $(CLEAR_VARS)
  
   LOCAL_MODULE    := Main
   LOCAL_SRC_FILES := Main.cpp
   LOCAL_LDLIBS := -llog -ljnigraphics -lz -landroid
   LOCAL_SHARED_LIBRARIES := libavformat libavcodec libswscale libavutil
  
   include $(BUILD_SHARED_LIBRARY)
   $(call import-module,ffmpeg/android/arm)
  </code></pre>
  
  <p>this is what my application.mk file looks like</p>
  
  <pre><code>APP_ABI := armeabi
  #APP_ABI := armeabi-v7a
  APP_PLATFORM := android-14
  </code></pre>