Open GuillaumeNachury opened 7 years ago
Hey! Recently I had the same problem and managed to resolve it by changing dependency name in platforms/android/build.gradle
from compile project(':tess-two')
to compile 'com.rmtheis:tess-two:7.0.0'
(right after // SUB-PROJECT DEPENDENCIES END
comment). If in any case you dont want to change dependency, there is another fix: adding
static{
System.loadLibrary("jpgt");
System.loadLibrary("pngt");
System.loadLibrary("lept");
System.loadLibrary("tess");
}
to TesseractPlugin.java
file.
Hello, I'm trying to use the plugin on an Android (6.0.1) but when I call the
recognizeText
method I got this error :Any idea how embed this
libjpgt
lib ?Thank you