java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "atof" referenced by "libhello-jni.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 Stack Overflow by Nisar Ahmad
, 10 months ago
dlopen failed: cannot locate symbol "atof" referenced by "libhello-jni.so"...
via GitHub by aaaaalbert
, 10 months ago
dlopen failed: cannot locate symbol "forkpty" referenced by "libpython2.7.so"...
via GitHub by marekhalmo
, 2 years ago
dlopen failed: empty/missing DT_HASH in "libandroidgl20.so" (built with --hash-style=gnu?)
via Stack Overflow by Aparana
, 9 months ago
dlopen failed: /data/app/com.trialliancebarcode-1/lib/arm/libiconv.so: has text relocations
, 1 year ago
dlopen failed: "/data/data/com.example.dynamicliveapk/app_pluginlib/libstlport_shared.so" is 32-bit instead of 64-bit
via Stack Overflow by re3el
, 2 years ago
dlopen failed: cannot locate symbol "localeconv" referenced by "libgmp.so"...
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "atof" referenced by "libhello-jni.so"...
at java.lang.Runtime.loadLibrary(Runtime.java:364)
at java.lang.System.loadLibrary(System.java:526)
at com.example.hellojni.HelloJni.(HelloJni.java:36)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1208)
at android.app.Instrumentation.newActivity(Instrumentation.java:1067)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2297)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471)
at android.app.ActivityThread.access$900(ActivityThread.java:175)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5602)
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:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)

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.