M
M
Matvey Filatov2016-07-14 04:30:39
Android
Matvey Filatov, 2016-07-14 04:30:39

Fatal Exception: java.lang.UnsatisfiedLinkError on Android 6.0?

Added zbar.jar to the project. Registered dependencies:
compile files('libs/zbar.jar')
On versions of Android 4.0 - 5.0 it works fine. But on Android 6.0, it swears at this part of the code:

static {
        System.loadLibrary("iconv");
}

Error:
Fatal Exception: java.lang.UnsatisfiedLinkError
What could be wrong and how to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
PE-HostRu, 2016-07-14
@PE-HostRu

In Android 6.0, according to the developers, they made a "major overhaul".
Those. I understand that there was a half of the code replaced. Perhaps something new has been added, so it swears, try to look for a replacement for this code, with a newer one, but not too new, i.e. it is possible that some versions below will not "understand" it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question