title: ndk-gdb error: device does not support the application's targetted CPU ABIs
body: <p>Trying to run ndk-gdb and getting this error:</p>
  
  <blockquote>
    <p>Android NDK installation path: /Library/AndroidSDK/ndk/ <br>
    Using specific adb command: /Library/AndroidSDK/platform-tools/adb  <br>
    ADB version found: Android Debug Bridge version 1.0.31  <br>
    Using ADB flags:   <br>
    Using auto-detected project path: .  <br>
    Found package name: com.dev.project <br>
    jni/Android.mk:18: <em>*</em> Android NDK: Aborting.    .  Stop.  <br>
    ABIs targetted by application: Android NDK:           <br>
    Device API Level: 17 <br>
    Device CPU ABIs: armeabi-v7a armeabi   <br>
    ERROR: The device does not support the application's targetted CPU ABIs! <br>
           Device supports:  armeabi-v7a armeabi  <br>
           Package supports: Android NDK: <br></p>
  </blockquote>
  
  <p>The 18th line in the jni/Android.mk is an import module call. </p>
  
  <p>What does that mean and how to remedy it?</p>
  
  <p>App is debuggable as per ndk documentation. I'm using Mac.
  I can build and run the App, so build script should be fine.</p>
  
  <hr>
  
  <p>Android.mk</p>
  
  <pre><code>LOCAL_PATH:= $(call my-dir)
  
  include $(CLEAR_VARS)
  
  LOCAL_MODULE    := libgl2jni
  LOCAL_CFLAGS    := -Werror -Wall -g
  LOCAL_CPPFLAGS  := -std=c++11
  LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../src $(LOCAL_PATH)/../../include $(LOCAL_PATH)/../../../boost
  
  NDK_MODULE_PATH := $(LOCAL_PATH)/../../lib/ndk
  LOCAL_SRC_FILES := $(subst $(LOCAL_PATH)/,,$(wildcard $(LOCAL_PATH)/*.cpp) $(wildcard $(LOCAL_PATH)/../../src/*/*.cpp))
  LOCAL_LDLIBS    := -llog -lGLESv2
  
  LOCAL_STATIC_LIBRARIES := freetype
  
  include $(BUILD_SHARED_LIBRARY)
  
  $(call import-module,otherlib) #commenting this line launches the ndk-gdb, but ndk-build fails
  </code></pre>
  
  <p>Application.mk</p>
  
  <pre><code>APP_STL := gnustl_static
  
  #remove for release?
  APP_ABI := armeabi armeabi-v7a 
  APP_OPTIM := debug
  </code></pre>