java.lang.UnsatisfiedLinkError: Couldn't load tensorFlow_demo from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.tensorflow.demo-2.apk"],nativeLibraryDirectories=[/data/app-lib/org.tensorflow.demo-2, /vendor/lib, /system/lib]]]: findLibrary returned null

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

,
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 kimhyungjoo
, 1 year ago
Couldn't load tensorFlow_demo from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.tensorflow.demo-2.apk"],nativeLibraryDirectories=[/data/app-lib/org.tensorflow.demo-2, /vendor/lib, /system/lib]]]: findLibrary returned null
via GitHub by datomnurdin
, 1 year ago
/org.tensorflow.demo/files/instant-run/dex/slice-slice_2-classes.dex", dex file "/data/data/org.tensorflow.demo/files/instant-run/dex/slice-slice_1-classes.dex", dex file "/data/data/org.tensorflow.demo/files/instant-run/dex/slice-slice_0-classes.dex"],nativeLibraryDirectories=[/vendor/lib, /system/lib, /vendor/lib, /system/lib]]] couldn't find "libtensorflow_demo.so"
via GitHub by datomnurdin
, 1 year ago
/org.tensorflow.demo/files/instant-run/dex/slice-slice_2-classes.dex", dex file "/data/data/org.tensorflow.demo/files/instant-run/dex/slice-slice_1-classes.dex", dex file "/data/data/org.tensorflow.demo/files/instant-run/dex/slice-slice_0-classes.dex"],nativeLibraryDirectories=[/vendor/lib, /system/lib, /vendor/lib, /system/lib]]] couldn't find "libtensorflow_demo.so"
via GitHub by qianguming
, 2 years ago
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.github.obsessive.simplifyreader-1/base.apk"],nativeLibraryDirectories=[/data/app/com.github.obsessive.simplifyreader-1/lib/arm64, /vendor/lib64, /system/lib64]]] couldn't find "libluajava.so"
via GitHub by ThanosZhou
, 2 years ago
dlopen failed: "/data/app/fresh.qunar.com.qtown-2/lib/arm64/libvinit.so" is 32-bit instead of 64-bit
via GitHub by liuxgchi
, 11 months ago
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.sunnymum.client-2/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libmupdf.so"
java.lang.UnsatisfiedLinkError: Couldn't load tensorFlow_demo from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.tensorflow.demo-2.apk"],nativeLibraryDirectories=[/data/app-lib/org.tensorflow.demo-2, /vendor/lib, /system/lib]]]: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:358)
at java.lang.System.loadLibrary(System.java:526)
at org.tensorflow.demo.TensorflowClassifier.(TensorflowClassifier.java:46)
at org.tensorflow.demo.TensorflowImageListener.(TensorflowImageListener.java:54)
at org.tensorflow.demo.CameraConnectionFragment.(CameraConnectionFragment.java:240)
at org.tensorflow.demo.CameraConnectionFragment.newInstance(CameraConnectionFragment.java:170)
at org.tensorflow.demo.CameraActivity.onCreate(CameraActivity.java:30)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
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:779)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
277 more bugmates

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