Closed twday closed 8 years ago
I have imported the Tesseract API via the gradle compile command you provide in the README but I get this error:
stack=java.lang.NoClassDefFoundError: Failed resolution of: Lcom/googlecode/tesseract/android/TessBaseAPI;
There are no errors in my code. This error only appears at runtime. I have included import com.googlecode.tesseract.android.TessBaseAPI; as suggested by Android Studio.
import com.googlecode.tesseract.android.TessBaseAPI;
The issue resolved itself for some unknown reason.
Today i had the same problem. Clean the project and try it again.
I have imported the Tesseract API via the gradle compile command you provide in the README but I get this error:
There are no errors in my code. This error only appears at runtime. I have included
import com.googlecode.tesseract.android.TessBaseAPI;
as suggested by Android Studio.