Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib/arm64/libstatic-webp.so" is 64-bit instead of 32-bit #2785

Open
JavaNoober opened this issue Aug 26, 2024 · 0 comments
Open

lib/arm64/libstatic-webp.so" is 64-bit instead of 32-bit #2785

JavaNoober opened this issue Aug 26, 2024 · 0 comments

Comments

@JavaNoober
Copy link

Why am I getting this error? I've confirmed that this .so file is 64-bit, and the phone is also 64-bit.
Additionally, I have enabled dynamic delivery. After the dynamic module is installed, I noticed that the path /data/app/~~nEXThqLSObE45XjJOHnHrA== changes. In other places, I've achieved this by modifying System.loadLibrary to System.load, and the soLoader here is originally using System.load. I'm not sure if this has any impact.

Description

Caused by java.lang.UnsatisfiedLinkError
dlopen failed: "/data/app/~~nEXThqLSObE45XjJOHnHrA==/com.xxxxxx-VWsanJ76zE5AJRCKrcAEuQ==/lib/arm64/libstatic-webp.so" is 64-bit instead of 32-bit
java.lang.Runtime.load0 (Runtime.java:929)

java.lang.System.load (System.java:1620)
com.facebook.soloader.SoLoader$1.load (SoLoader.java:558)
com.facebook.soloader.DirectorySoSource.loadLibraryFrom (DirectorySoSource.java:110)
com.facebook.soloader.DirectorySoSource.loadLibrary (DirectorySoSource.java:63)
com.facebook.soloader.ApplicationSoSource.loadLibrary (ApplicationSoSource.java:91)
com.facebook.soloader.SoLoader.doLoadLibraryBySoName (SoLoader.java:1067)
com.facebook.soloader.SoLoader.loadLibraryBySoNameImpl (SoLoader.java:943)
com.facebook.soloader.SoLoader.loadLibraryBySoName (SoLoader.java:855)
com.facebook.soloader.SoLoader.loadLibrary (SoLoader.java:802)
com.facebook.soloader.NativeLoaderToSoLoaderDelegate.loadLibrary (NativeLoaderToSoLoaderDelegate.java:29)
com.facebook.soloader.nativeloader.NativeLoader.loadLibrary (NativeLoader.java:51)
com.facebook.soloader.nativeloader.NativeLoader.loadLibrary (NativeLoader.java:30)
com.facebook.imagepipeline.nativecode.StaticWebpNativeLoader.ensure (StaticWebpNativeLoader.java:32)
com.facebook.animated.webp.WebPImage.createFromByteBuffer (WebPImage.java:94)
com.facebook.animated.webp.WebPImage.decodeFromByteBuffer (WebPImage.java)
com.facebook.imagepipeline.animated.factory.AnimatedImageFactoryImpl.decodeWebP (AnimatedImageFactoryImpl.java:121)
com.facebook.fresco.animation.factory.AnimatedFactoryV2Impl$2.decode (AnimatedFactoryV2Impl.java:109)
com.facebook.imagepipeline.decoder.DefaultImageDecoder.decodeAnimatedWebp (DefaultImageDecoder.java:233)
com.facebook.imagepipeline.decoder.DefaultImageDecoder$1.decode (DefaultImageDecoder.java:65)
com.facebook.imagepipeline.decoder.DefaultImageDecoder.decode (DefaultImageDecoder.java:125)
com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder.internalDecode (DecodeProducer.java:386)
com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder.doDecode (DecodeProducer.java:328)
com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder$1.run (DecodeProducer.java:198)
com.facebook.imagepipeline.producers.JobScheduler.doJob (JobScheduler.java:229)
com.facebook.imagepipeline.producers.JobScheduler$1.run (JobScheduler.java:95)
java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)

java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
com.facebook.imagepipeline.core.PriorityThreadFactory$1.run (PriorityThreadFactory.java:52)
java.lang.Thread.run (Thread.java:920)

Reproduction

[FILL THIS OUT: How can we reproduce the bug? Provide URLs to relevant images if possible, or a sample project.]

Additional Information

  • Fresco version: fresco 2.6.0 soloader 0.10.4
  • Platform version: Galaxy S10+ Android12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant