user1821920
user1821920

Reputation: 31

OCR Simple example android using tesseract compilation error

I am making a library called tesstwo, and it works, but there's one problem when I'm trying to compile for Simple Android OCR. It says:

import com.googlecode.tesseract.android.TessBaseAPI;
cannot resolve library 

Does anyone know what the problem and how to solve it?

Upvotes: 3

Views: 1654

Answers (1)

Terril Thomas
Terril Thomas

Reputation: 1506

Hey i found the solution for it

all u need is to build ur Ndk and How to do that? Its simple

just take the path where to have saved the tess-two folder in the terminal(ubuntu) for

Ubuntu:cd /home/workspace/tess-two-master/tess-two //This is my path u will have different
 tess-two$: /(path where u have installed ur ndk)/ndk-build

Windows:cd /cygdrive/e/terril/workspace/tess-two-master/tess-two ; /cygdrive/e/terril/Libraries/android-ndk-r8b-windows/android-ndk-r8b/ndk-build

It will work

Upvotes: 2

Related Questions