Adrian Antoci
Adrian Antoci

Reputation: 59

Android NDK "dlopen failed: cannot locate symbol"

I'm trying to run an application that has C++ NDK compiled code but I'm getting the following exception:

java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "" referenced by "mylib.so"

I don't understand why I'm NOT getting the symbol that is missing: symbol ""

In other cases the missing symbol is visible like here: here

How can I find what is the missing symbol or what is the problem?

Thank you!!

Upvotes: 1

Views: 5950

Answers (1)

jiong103
jiong103

Reputation: 131

I met a mistake like this :

ailed: dlopen failed: cannot locate symbol “lstat64”

It occurs in android 4.3 version, but it can run in the android6.0 version

This is my way to solve this problem:

NDK r10 dropped to NDK r9d, Then it ran up in android4.3 !!!

Upvotes: 1

Related Questions