question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android P Fresco initialize

See original GitHub issue

Fresco version: 1.8.1

When I try to initialize it I get this error:

W/SoLoader: Cannot get nativeLoad method
            java.lang.NoSuchMethodException: nativeLoad [class java.lang.String, class java.lang.ClassLoader, class java.lang.String]
                at java.lang.Class.getMethod(Class.java:2068)
                at java.lang.Class.getDeclaredMethod(Class.java:2047)
                at com.facebook.soloader.SoLoader.getNativeLoadRuntimeMethod(SoLoader.java:281)
                at com.facebook.soloader.SoLoader.initSoLoader(SoLoader.java:233)
                at com.facebook.soloader.SoLoader.initImpl(SoLoader.java:141)
                at com.facebook.soloader.SoLoader.init(SoLoader.java:120)
                at com.facebook.soloader.SoLoader.init(SoLoader.java:104)
                at com.facebook.drawee.backends.pipeline.Fresco.initialize(Fresco.java:63)
                at com.facebook.drawee.backends.pipeline.Fresco.initialize(Fresco.java:46)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:16 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
zmroczekcommented, Jun 12, 2018

We’ve updated the SoLoader version in https://github.com/facebook/fresco/commit/8e9243e94fc9f8117b09b1fb6c4594feda7411c8, so the nativeLoad error shouldn’t occur on Android P anymore.

2reactions
Vatrenicommented, May 21, 2018

I didn’t notice any side effects, only this error message, I use Fresco for simple image loading

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docs›Getting Started - Fresco
This Guide will walk you through the steps needed to start using Fresco in your app, including loading your first image.
Read more >
Using Fresco Tutorial (the easy one) - Medium
So click on Sync Now at the right side of the bar. Step 2 — Initialize fresco. Now you will need to initialize...
Read more >
Android Tutorial => Getting Started with Fresco
Fresco needs to be initialized. You should only do this 1 time, so placing the initialization in your Application is a good idea....
Read more >
Fresco Image Loading Library in Android with Example
Fresco is one of the famous image loading libraries from URLs in Android. ... Step 5: Initialize and use SimpleDraweeView in the ...
Read more >
Use the open-source framework Fresco in Android to process images,
This article is original blog, reproduced please indicate the original link: http://www.cnblogs.com/panhouye/p/6278116.html. For the advantages of Fresco, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found