Closed GoogleCodeExporter closed 9 years ago
Hi,
The minimum sdk version needed is 2.2. If you try to deploy it on verison
before 2.2. It crashes.
Original comment by srini....@gmail.com
on 18 May 2011 at 4:02
Hi,
yes. I that is exactly the issue. still, more than 20 percent of active devices
are pre 2.2 devices.
Hence, the question is if there is any workaround to get it to work on pre 2.2
platforms. So far, I narrowed it down to the gnustl_static library against
which tesseract is compiled.
Original comment by griebe.t...@gmail.com
on 18 May 2011 at 6:02
Hi, using NDK version 6 solves the problem for Android phones pre 2.2. Good
luck. Volker
Original comment by Volker.S...@gmail.com
on 17 Aug 2011 at 9:25
Hi,
using NDK version 6 solves the problem for Android phones pre 2.2.
We tested it with a phone having Android version 2.1 and the OCR was working
fine.
Best wishes,
Volker
Original comment by Volker.S...@gmail.com
on 17 Aug 2011 at 9:30
Hi,
using NDK version 6 solves the problem for Android phones pre 2.2.
We tested it with a phone having Android version 2.1 and the OCR was working
fine.
Best wishes,
Volker
Original comment by Volker.S...@gmail.com
on 17 Aug 2011 at 9:31
Hi,
Was anyone able to successfully try this on Android Version 2.1 ? It works fine
on 2.2 and not on 2.1...
Can you share the libraries and sample code for the version that works on 2.1 ?
Best regards,
vkasirajan
Original comment by vkasira...@gmail.com
on 14 Oct 2011 at 6:56
Hi vkasirajan,
If u read me comment above, you would have read that using the NDK version 6
provided on the Android developer website will solve your problem. Just
recompile the same libs you use with NDK 6 and it should run und 2.1 and below.
We did just that and for our project it is working. I am sorry that we can't
provide any source code or libs.
Best regards,
Volker
Original comment by Volker.S...@gmail.com
on 16 Oct 2011 at 9:40
Hi Volker,
Thank you for your reply. As you suggested, I tried to recompile the libs using
the NDK 6. I get the following error:
Unable to dlopen(/data/data/com.android.mytest/lib/liblept.so): Cannot load
library: link_image[1721]: 30 could not load needed library 'libjpeg.so' for
'liblept.so' (load_library[1051]: Library 'libjpeg.so' not found)
I took libjnigraphics.so and tried to load it using System.loadLibrary. This
gives "UnsatisfiedLinkError". I used the 2.1 emulator as well as a 2.1 device.
Both gives me the same errors.
All the library files are properly copied into the respective paths...
Any help, will be greately appreciated. I have attached the logs...
Best regards,
vkasirajan
Original comment by vkasira...@gmail.com
on 16 Oct 2011 at 5:39
Attachments:
Removed support for APIs < 8.
Original comment by alanv@google.com
on 11 Sep 2012 at 8:06
Original issue reported on code.google.com by
griebe.t...@gmail.com
on 16 May 2011 at 3:20