Fresco not coexisting with GDX
With fresco 0.5.0 I found that images are not displayed on certain Samsung devices with Android 5.0.2.
On similar devices such as LG Nexus 4 (Android 5.1) or Sony Xperia Z1 (Android 5.0.2) images are loaded just fine with the same app (exactly the same apk binary). This issue is not reproducible on Samsung Galaxy S4 (Android 4.4.2) or older devices either.
I could not see much debug info rather than this info log:
05-28 14:38:04.781 13750-14917/
Following is the spec for one of the phones:
Galaxy S6 edge SM-G925I 5.0.2
Please let me know if there is any other information I can provide to help investigate. Thanks.
Thanks for reporting. We are aware of this and it would be fixed in the next release.
There was a known problem with the S6's 64-bit hardware that has been fixed in v0.5.1.
Facing the same problem with com.facebook.fresco:fresco:0.5.2
Rejecting re-init on previously-failed class java.lang.Class<com.facebook.imagepipeline.memory.NativeMemoryChunk>
Any ideas how to fix this? I have tried on a Nexus 5, Android 5.1.1 and HTC one X, Android 4.2.2, with no success, nothing appears, except the placeholder.
Also I have tried with version 0.5.0 and 0.5.1 but nothing changed.
I have created a separate activity for this to try out, and now the "Rejecting re-init..." message is missing, but there is another message: W/dalvikvm﹕ Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/facebook/imagepipeline/memory/NativeMemoryChunk; and the image is still missing.
Laces, your issue is different from the original as it occurs on non-S6 devices.
What kind of images fail to appear?
Then sorry to post in the wrong thread. I have tried with the tutorial found here: http://frescolib.org/docs/getting-started.html Everything was exactly the same, the url was: https://raw.githubusercontent.com/facebook/fresco/gh-pages/static/fresco-logo.png
Tomorrow I'll start a new & clean project to try this out...
I think I have found the problem, I wanted to use Fresco with libGDX on Android, and in my gradle file I have this:
// needed to add JNI shared libraries to APK when compiling on CLI
tasks.withType(com.android.build.gradle.tasks.PackageApplication) { pkgTask ->
pkgTask.jniFolders = new HashSet
If I remove these lines, the Fresco works, but the GDX doesn't... Do you have any idea how can I fix this? Thanks!
Running into the same issue, however not using the GDX library or an S6.
I am running on a nexus 6, however issue is seen on a nexus 7, galaxy tab 2, and a sony xperia more details in #746
Is there some workaround I can try so it will work? because right now no images are loading at all from the network.
I got this issue when I updated my Same here.... com.google.gms:google-services:1.3.1 on the project build.gradle to 1.5.0-beta2... when I rolled back fresco got back to working
Same problem on sumsung galaxy s4 i9295
Anyone have any luck? Same issue on Nexus 6
@githubdoramon - Thanks. Your suggestion helped me to solve the issue.
This seems like it's still an issue with Fresco 0.9.0. Genymotion Nexus 5 with API21 5.0.0.
UPDATE This appears related to https://github.com/facebook/fresco/issues/410 and was resolved for me when I updated my gradle build tools.
No new reports of this for more than a year, closing issue.