Skip to content Skip to sidebar Skip to footer

Android Ndk-build Error

I am trying to build tesseract for android. I have put tesseract in samples folder as C:\Android_NDK\android-ndk-r8\samples\tesseract with in tesseract folder I have tesseract-3.

Solution 1:

I think you not added below code to your buid.gradle file .This solution fo android studio

 sourceSets.main {
    jniLibs.srcDir 'src/main/libs'
    jni.srcDirs = [] //disable automatic ndk-build call
}

Post a Comment for "Android Ndk-build Error"