title: Android NDK: INTERNAL ERROR: The armeabi ABI should have exactly one architecture definitions. Found:
body: <p>I am working on <code>OpenCv</code> project and I have this <code>Android.mk</code> file where I am setting the path for <code>OpenCv libraries</code></p>
  
  <pre><code>OPENCV_INCLUDE_DIR        := $(OPENCV_ANDROID_SDK_HOME)\sdk\native\jni\include
  OPENCV_LIBS_DIR           := $(OPENCV_ANDROID_SDK_HOME)\sdk\native\libs\$(TARGET_ARCH_ABI)
  OPENCV_3RD_PARTY_LIBS_DIR := $(OPENCV_ANDROID_SDK_HOME)\sdk\native\3rdparty\libs\$(TARGET_ARCH_ABI)
  </code></pre>
  
  <p>When I am trying to sync the <code>graddle</code> I am getting this <code>error</code> from <code>ndk-bundle</code></p>
  
  <p><strong>Error while executing process</strong></p>
  
  <pre><code>D:\Android\sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=D:\*****\trunk\iShow\src\main\cpp\Android.mk NDK_APPLICATION_MK=D:\****\trunk\iShow\src\main\cpp\Application.mk APP_ABI=armeabi NDK_ALL_ABIS=armeabi NDK_DEBUG=1 APP_PLATFORM=android-16 NDK_OUT=D:/****/trunk/iShow/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=D:\****\trunk\iShow\build\intermediates\ndkBuild\debug\lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
  Android NDK: INTERNAL ERROR: The armeabi ABI should have exactly one architecture definitions. Found:
  *** Android NDK: Aborting... . Stop. Open File
  </code></pre>
  
  <p>I tried replacing <code>$(TARGET_ARCH_ABI)</code> with <code>abi-armeabi-v7a</code> or any other it won't work.</p>
  
  <blockquote>
    <p>Updated Question</p>
  </blockquote>
  
  <p>This is the portion of <code>init.mk</code> file in <code>ndk-bundle dir</code>where I am getting the <code>error</code></p>
  
  <pre><code># Check that each ABI has a single architecture definition
  $(foreach _abi,$(strip $(NDK_ALL_ABIS)),\
    $(if $(filter-out 1,$(words $(NDK_ABI.$(_abi).arch))),\
      $(call __ndk_info,INTERNAL ERROR: The $(_abi) ABI should have exactly one architecture definitions. Found: '$(NDK_ABI.$(_abi).arch)')\
      $(call __ndk_error,Aborting...)\
    )\
  )
  
  Error:ABIs [armeabi] are not supported for platform. Supported ABIs are [armeabi-v7a, arm64-v8a, x86, x86_64].
  </code></pre>
  
  <p><strong>Please Help</strong></p>