I have been trying to compiling the tess-two project for android but it keeps failing.
I have tried chaning the 'command' like this
commandLine 'C:\Users\user\AppData\Local\Android\android-ndk-r10e', '-C', 'C:\Users\user\Documents\Android_Studio\Projects\tess-two-master\eyes-two\src\main'
commandLine 'C:\Users\\AppData\Local\Android\android-ndk-r12b', '-C', 'C:\Users\\Documents\Android_Studio\Projects\tess-two-master\eyes-two\src\main'
As with this I have tried two versions of NDK as well, I have downloaded the latest version of tess-two.
I have tried compiling the libraries directly but I also get the same error:
make (e=87): The parameter is incorrect.
make: *** [C:/Users/JuanS/Documents/Android_Studio/Projects/tess-two-master/tess-two/obj/local/armeabi/libtess.so] Error 87
make: Leaving directory `C:/Users/JuanS/Documents/Android_Studio/Projects/tess-two-master/tess-two/jni'