Hi! I trying to add BCR SDK to android. Everything works perfectly on all devices, but with Android API since 24 (N) App crashes on trying to initialize lib on startup, because ".so" files not found. It has written on official android developers website, that since android n namespaces are changing and developers could use only public APIs - https://developer.android.com/about/versions/nougat/android-7.0-changes.html#ndk . I think my error is thrown with this changes. How can I resolve this?

asked 05 Dec '16, 10:11

iam's gravatar image


If we understand correctly, in your application you are using the Android wrapper for ABBYY Mobile OCR Engine. Unfortunately, we have been unable to reproduce the issue on our side.

Could you please clarify what exactly the issue is (e.g. a screenshot or text of the error message)? Does it occur in a simulator, on a device or both?

(06 Dec '16, 17:36) IvanPopov ♦♦

Hmm, I've edited question. Not understand where are the addition. I've wrote that I resolve this. Problem was not for 24+ API, but for x64 CPU. Gradle try to find lib in corresponding folder. I force disable x64 folders with gradle defaultConfig { ... ndk { abiFilters "armeabi", "armeabi-v7a", "x86" } } and all became work fine

(06 Dec '16, 17:48) iam
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 05 Dec '16, 10:11

Seen: 252 times

Last updated: 06 Dec '16, 17:48

© 2016 ABBYY. All rights Reserved. www.ABBYY.com | Privacy Policy | Legal