UnsatisfiedLinkError: couldn't find "libmemchunk.so"
See original GitHub issuejava.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.blink.academy.fork-1/base.apk"],nativeLibraryDirectories=[/data/app/com.blink.academy.fork-1/lib/arm64, /vendor/lib64, /system/lib64]]] couldn't find "libmemchunk.so"
at java.lang.Runtime.loadLibrary(Runtime.java:366)
at java.lang.System.loadLibrary(System.java:989)
at com.facebook.common.soloader.SoLoaderShim$DefaultHandler.loadLibrary(SoLoaderShim.java:34)
at com.facebook.common.soloader.SoLoaderShim.loadLibrary(SoLoaderShim.java:56)
at com.facebook.imagepipeline.memory.NativeMemoryChunk.(NativeMemoryChunk.java:36)
at com.facebook.imagepipeline.memory.NativeMemoryChunkPool.alloc(NativeMemoryChunkPool.java:60)
at com.facebook.imagepipeline.memory.NativeMemoryChunkPool.alloc(NativeMemoryChunkPool.java:22)
at com.facebook.imagepipeline.memory.BasePool.get(BasePool.java:260)
at com.facebook.imagepipeline.memory.NativePooledByteBufferOutputStream.(NativePooledByteBufferOutputStream.java:53)
at com.facebook.imagepipeline.memory.NativePooledByteBufferFactory.newOutputStream(NativePooledByteBufferFactory.java:141)
at com.facebook.imagepipeline.memory.NativePooledByteBufferFactory.newOutputStream(NativePooledByteBufferFactory.java:26)
at com.facebook.imagepipeline.producers.NetworkFetchProducer.onResponse(NetworkFetchProducer.java:95)
at com.facebook.imagepipeline.producers.NetworkFetchProducer.access$000(NetworkFetchProducer.java:36)
at com.facebook.imagepipeline.producers.NetworkFetchProducer$1.onResponse(NetworkFetchProducer.java:73)
at com.blink.academy.fork.fresco.imagepipeline.OkHttpNetworkFetcher$2.onResponse(OkHttpNetworkFetcher.java:96)
at com.squareup.okhttp.Call$AsyncCall.execute(Call.java:168)
at com.squareup.okhttp.internal.NamedRunnable.run(NamedRunnable.java:33)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
Issue Analytics
- State:
- Created 8 years ago
- Comments:48 (5 by maintainers)
Top Results From Across the Web
Fatal Exception: java.lang.UnsatisfiedLinkError couldn't find lib ...
I do not think it is a missing library on your end. The actual problem is the really strange library name: lib.so. This...
Read more >java.lang.UnsatisfiedLinkError ... couldn't find "libserial_port.so
Hi guys, I am trying to include native .so files in a Java library. Starting with the LameB4A project as example, I tried...
Read more >How to Handle the UnsatisfiedLinkError Runtime Error in Java
The Java java.lang.UnsatisfiedLinkError is thrown when a program uses a native libaray but is unable to find it at runtime for some reason....
Read more >java.lang.UnsatisfiedLinkError: couldn't find DSO to load ...
Android : React-Native :java.lang. UnsatisfiedLinkError : couldn't find DSO to load: libhermes. so [ Beautify Your Computer ...
Read more >java.lang.UnsatisfiedLinkError: couldn't find "libopencv_core.so"
PathClassLoader[DexPathList[[zip file "/data/app/com.bewo.screencast-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My problem were:
At:
at com.facebook.imagepipeline.producers.ResizeAndRotateProducer$TransformingConsumer.doTransform(ResizeAndRotateProducer.java)
…
java.lang.UnsatisfiedLinkError: Cannot load library: soinfo_link_image(linker.cpp:1636): could not load library "libwebp.so" needed by "libimagepipeline.so"; caused by load_library(linker.cpp:746): library "libwebp.so" not found
Got it fixed using this on my Application, before Fresco.initialize(this):
static { try { SoLoaderShim.loadLibrary("webp"); } catch(UnsatisfiedLinkError nle) { } }
@vikramkakkar
compile('com.facebook.fresco:fresco:0.9.0+') { exclude module: 'bolts-android' } compile('com.facebook.fresco:imagepipeline-okhttp:0.9.0+') { exclude module: 'bolts-android' } compile('jp.wasabeef:fresco-processors:2.0.0') { exclude module: 'bolts-android' }