UnsatisfiedLinkError - Sometimes application get crashed due to imagepipeline
Please find logs collected after app crashed:
java.lang.UnsatisfiedLinkError: Couldn't load memchunk from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.ms.officechat-1.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]]: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:355)
at java.lang.System.loadLibrary(System.java:525)
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.
Do you get random crashes for the same build, or?
yes, We get this crash random. When we use application for long time, we get below warning message frequently:
W/unknown:CloseableReference(9817): Finalized without closing: 42074080 42073f98 (type = NativePooledByteBuffer)
W/unknown:CloseableReference is not related to UnsatisfiedLinkError.
I need more details to help with the crash:
- does this happen on particular devices or all devices ? What is the architecture of processor (x86, armv7, 64bit) ?
- is os version relevant ?
- what version of Fresco do you use ?
I get same problem.
1.it's happen all devices, 2.Fresco version 0.6.0
@agoodcoolman : do you use proguard ? does it happen all the time or sporadically ? Have you seen https://github.com/facebook/fresco/issues/172 and https://github.com/facebook/fresco/issues/105 ?
java.lang.UnsatisfiedLinkError: Couldn't load ***JNI from loader dalvik.system.PathClassLoader
I also met this problem
and didn't use proguard.
it happen all the time when App launch.
Fresco 0.6.0
Oh. I solve my problem.
just to save the *.so file to the armeabi-v7a folder.(do not armeabi).
get, it's work.
Hello @agoodcoolman @tyronen can you please tell me how this is fixed for you? I am building my app with fresco versiob 0.6.0+ using android studio.
But app crashed on GalaxyNexus(4.2.2) and Motorola(4.0.4)
In android studio, there are no folder for amreabi
sorry, I hava forgot it. maybe you need create a file be named armeabi-v7a in libs,
At 2015-09-02 17:38:12, "Swati Goel" [email protected] wrote:
Hello @agoodcoolman can you please tell me how this is fixed for you? I am building my app with fresco versiob 0.6.0+ using android studio.
But app crashed on GalaxyNexus(4.2.2) and Motorola(4.0.4)
In android studio, there are no folder for amreabi
— Reply to this email directly or view it on GitHub.
I have fixed it using eclipse. In fresco project, put all .so file in armeabi-v7a folder. .so file I got from 0.5.3 versions.