HERES MY ANDROID.MK FILE i ran android ndk-build and got an error that says" ndk-buld command not found" then i later exported my path using "export ANDROID_NDK=/Users/mac15/android-ndk-r11c" and since then i have spent days googling possible resolutions and have gotten none that actually work.
LOCAL_MODULE_FILENAME := libavcodec
LIBJPEG_PATH := path-to-libjpeg
LEPTONICA_PATH := path-to-leptonica
TESSERACT_PATH := path-to-tesseract
LOCAL_MODULE := hello-jni
LOCAL_PATH := $(call my-dir)
TESSERACT_PATH := $(LOCAL_PATH)/com_googlecode_tesseract_android/src
LEPTONICA_PATH := $(LOCAL_PATH)/com_googlecode_leptonica_android/src
LIBJPEG_PATH := $(LOCAL_PATH)/libjpeg
LIBPNG_PATH := $(LOCAL_PATH)/libpng
# Just build the Android.mk files in the subdirs
include $(call all-subdir-makefiles)
include $(BUILD_SHARED_LIBRARY)
TESSERACT_PATH := $(call my-dir)/../external/tesseract-3.01
LEPTONICA_PATH := $(call my-dir)/../external/leptonica-1.68
LIBJPEG_PATH := $(call my-dir)/../external/libjpeg