title: Android NDK : Aborting. Stop
body: <p>I'm trying to call <code>C++</code> method in <code>Java</code> coding.</p>
  
  <p>I received the <code>Android NDK : Aborting. Stop</code> when defined the <code>Android.mk</code> file as below :</p>
  
  <pre><code>LOCAL_PATH := $(call my-dir)
  
  include $(CLEAR_VARS)
  LOCAL_MODULE    := ffmpeg
  LOCAL_SRC_FILES := libs/ffmpeg.so
  
  include $(PREBUILT_SHARED_LIBRARY)
  
  include $(CLEAR_VARS)
  LOCAL_MODULE    := ffmpeg
  LOCAL_SRC_FILES := ffmpeg.cpp
  LOCAL_SHARED_LIBRARIES := ffmpeg
  include $(BUILD_SHARED_LIBRARY) 
  </code></pre>
  
  <p>But if I defined like this, it run successfully :</p>
  
  <pre><code>LOCAL_PATH := $(call my-dir)
  
  include $(CLEAR_VARS)
  LOCAL_MODULE    := ffmpeg
  LOCAL_SRC_FILES := libs/ffmpeg.so
  
  include $(BUILD_SHARED_LIBRARY)
  </code></pre>
  
  <p><code>Questions</code> :</p>
  
  <p>1 - How to fix this error?</p>
  
  <p>2 - In <code>Android.mk</code> file, Can not call <code>libs/ffmpeg.so</code> and <code>ffmpeg.cpp</code> in the same time?</p>
  
  <p>People who know this, </p>
  
  <p>Please tell me,</p>
  
  <p>Thanks,</p>
  
  <p>p/s : Project structure :</p>
  
  <p><img src="https://i.stack.imgur.com/2j4l8.png" alt="enter image description here"></p>