java.lang.UnsatisfiedLinkError: com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader[DexPathList[[dex file "/data/data/org.tensorflow.demo/files/instant-run/dex/slice-slice_9-classes.dex", dex file "/data/data/org.tensorflow.demo/files/instant-run/dex/slice-slice_8-classes.dex", dex file "/data/data/org.tensorflow.demo/files/instant-run/dex/slice-slice_7-classes.dex", dex file "/data/data/org.tensorflow.demo/files/instant-run/dex/slice-slice_6-classes.dex", dex file "/data/data/org.tensorflow.demo/files/instant-run/dex/slice-slice_5-classes.dex", dex file "/data/data/org.tensorflow.demo/files/instant-run/dex/slice-slice_4-classes.dex", dex file "/data/data/org.tensorflow.demo/files/instant-run/dex/slice-slice_3-classes.dex", dex file "/data/data/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=[/data/app/org.tensorflow.demo-1/lib/arm64, /system/lib64, /vendor/lib64]]] couldn't find "libtensorflow_demo.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

,

This is a sub-class of the LinkageError class and indicates that the JVM cannot find an appropriate native-language definition of a method declared as native. Install the CDF Software Distribution on your system.

,

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

Solutions on the web

via GitHub by faizan0148
, 1 year ago
com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader[DexPathList[[dex file "/data/data/org.tensorflow.demo/files/instant-run/dex/slice-slice_9-classes.dex", dex file "/data/data/org.tensorflow.demo/files/instant-run/dex/slice
via GitHub by zzjthl
, 5 months ago
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.pb.partybuildandroid-1/base.apk", zip file "/storage/emulated/0/document/live.apk"],nativeLibraryDirectories=[/data/app/com.pb.partybuildandroid-1/lib/arm, /system/fake-libs, /data
via Google Groups by Unknown author, 4 months ago
dlopen failed: cannot locate symbol "__errno_location" referenced by "/data/app/<package name removed>/lib/arm64/libbrain_jni.so"...
via GitHub by ivan-ushakov
, 7 months ago
dlopen failed: cannot locate symbol "__cxa_bad_typeid" referenced by "/data/app/com....-1/lib/arm64/lib...so"...
via GitHub by sluitel
, 7 months ago
dlopen failed: /data/app/******-1/lib/x86/libswresample.so: has text relocations
via GitHub by micHar
, 9 months ago
dalvik.system.PathClassLoader[DexPathList[[zip file ".../base.apk"],nativeLibraryDirectories=[.../lib/arm64, .../base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]] couldn't find "librtmp-jni.so"
java.lang.UnsatisfiedLinkError: com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader[DexPathList[[dex file "/data/data/org.tensorflow.demo/files/instant-run/dex/slice-slice_9-classes.dex", dex file "/data/data/org.tensorflow.demo/files/instant-run/dex/slice-slice_8-classes.dex", dex file "/data/data/org.tensorflow.demo/files/instant-run/dex/slice-slice_7-classes.dex", dex file "/data/data/org.tensorflow.demo/files/instant-run/dex/slice-slice_6-classes.dex", dex file "/data/data/org.tensorflow.demo/files/instant-run/dex/slice-slice_5-classes.dex", dex file "/data/data/org.tensorflow.demo/files/instant-run/dex/slice-slice_4-classes.dex", dex file "/data/data/org.tensorflow.demo/files/instant-run/dex/slice-slice_3-classes.dex", dex file "/data/data/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=[/data/app/org.tensorflow.demo-1/lib/arm64, /system/lib64, /vendor/lib64]]] couldn't find "libtensorflow_demo.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:972)
at java.lang.System.loadLibrary(System.java:1530)
at org.tensorflow.demo.TensorFlowImageClassifier.(TensorFlowImageClassifier.java:35)
at org.tensorflow.demo.TensorFlowImageListener.(TensorFlowImageListener.java:63)
at org.tensorflow.demo.CameraConnectionFragment.(CameraConnectionFragment.java:452)
at org.tensorflow.demo.CameraConnectionFragment.newInstance(CameraConnectionFragment.java:271)
at org.tensorflow.demo.CameraActivity.setFragment(CameraActivity.java:85)
at org.tensorflow.demo.CameraActivity.onRequestPermissionsResult(CameraActivity.java:57)
at android.app.Activity.dispatchRequestPermissionsResult(Activity.java:7069)
at android.app.Activity.dispatchActivityResult(Activity.java:6921)
at android.app.ActivityThread.deliverResults(ActivityThread.java:4049)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:4096)

Users with the same issue

Once, 1 week ago
Once, 3 months ago
Once, 4 months ago
6 times, 11 months ago
Once, 1 year ago

Write tip

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