Error:(45) *** Android NDK: Aborting . Stop?
There are many similar question but none of them help and some of them are not answered like this. I am integrating opencv 3.1 with into android studio 2.2.2 to use c++ code in android i have android NDK downloaded by the android studio and i have Android.mk and Application.mk files.
Android.mk file
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
#opencv
OPENCVROOT:=C:\Users\The\Documents\OpenCV-android-sdk
OPENCV_CAMERA_MODULES:=on
OPENCV_INSTALL_MODULES:=on
OPENCV_LIB_TYPE:=SHARED
include ${OPENCVROOT}\sdk\native\jni\OpenCV.mk
LOCAL_SRC_FILES :=print.cpp
LOCAL_LDLIBS += -llog
LOCAL_MODULE := MyLib
include $(BUILD_SHARED_LIBRARY)
Application.mk file
APP_STL := gnustl_static
APP_CPPFLAGS := -frtti -fexceptions
APP_ABI :=all
APP_PLATFORM := android-25
This worked but i need the opencv extera-module i followed many tutorials like this but i am unable to build opencv from source with extera-module then i decided to use opencv 2.4 but when i change the above Android.mk openc-android-sdk location to opencv 2.4 the Error:(45) * Android NDK: Aborting . Stop error occurring. What is wrong it worked for opencv 3.1 but it doesn't work in opencv 2.4?