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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Add an Application.mk file next to your Android.mk file and make APP_PLATFORM to be equal to your minSdkVersion.

,
Expert tip

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.

Solutions on the web

via GitHub by rzhepish
, 1 year ago
dlopen failed: cannot locate symbol "stpcpy" referenced by "libenc.so"...
via GitHub by shyhaha
, 1 year ago
dlopen failed: cannot locate symbol "stpcpy" referenced by "libenc.so"...
via GitHub by jutikorn
, 1 year ago
dlopen failed: cannot locate symbol "stpcpy" referenced by "libenc.so"...
via GitHub by tagantroy
, 1 year ago
dlopen failed: cannot locate symbol "png_set_longjmp_fn" referenced by "libExample.so"...
via GitHub by KyrychenkoOleksandr
, 1 year ago
dlopen failed: cannot locate symbol "stpcpy" referenced by "libenc.so"...
via GitHub by est31
, 1 year ago
Cannot load library: link_image[1891]: 29610 could not load needed library 'libiconv.so' for 'libminetest.so' (load_library[1093]: Library 'libiconv.so' not found)
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "stpcpy" referenced by "libenc.so"...
at java.lang.Runtime.loadLibrary(Runtime.java:371)
at java.lang.System.loadLibrary(System.java:526)
at net.ossrs.yasea.SrsEncoder.(SrsEncoder.java:540)
at net.ossrs.yasea.SrsPublisher.(SrsPublisher.java:34)
at net.ossrs.yasea.demo.MainActivity.onCreate(MainActivity.java:69)
at android.app.Activity.performCreate(Activity.java:5277)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2322)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2410)
at android.app.ActivityThread.access$800(ActivityThread.java:155)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1331)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5395)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:837)

Users with the same issue

Once, 3 weeks ago
159 times, 2 months ago
4 times, 6 months ago
8 times, 9 months ago
3 times, 9 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.