Fix Fresco 2.1 Java-only version?
See original GitHub issueI want to use java-only version in my project. We can find some instruction on Version 2.1.0 release note. I hava added Java-Fresco Gradle setup:
implementation('com.facebook.fresco:fresco:2.1.0') {
exclude group: 'com.facebook.soloader', module: 'soloader'
exclude group: 'com.facebook.fresco', module: 'soloader'
exclude group: 'com.facebook.fresco', module: 'nativeimagefilters'
exclude group: 'com.facebook.fresco', module: 'nativeimagetranscoder'
exclude group: 'com.facebook.fresco', module: 'memory-type-native'
exclude group: 'com.facebook.fresco', module: 'imagepipeline-native'
}
And changed freco init code.
ImagePipelineConfig.Builder builder = createFrescoConfig();
builder.experiment().setNativeCodeDisabled(true);
Fresco.initialize(getApplicationContext(), builder.build(),null,false);
But we still got some problem.Fresco still trying load so files. So which is the right way to use java-only version? Can we get some wiki about this? Can we exclude so files when use java-only version?
Issue Analytics
- State:
- Created 4 years ago
- Comments:18 (3 by maintainers)
Top Results From Across the Web
com.facebook.fresco:imagepipeline-base-test: Versions
Fresco 2.1.0 comes with tons of improvements, including a Java-only Fresco version. ... Version 1.8.1 is a bug-fix release following the main 1.8.0...
Read more >Docs›Getting Started - Fresco
This Guide will walk you through the steps needed to start using Fresco in your ... Starting with Fresco version 2.1.0, you can...
Read more >Gradle build not working for React Native project after ...
After doing this, I somehow managed to update the Android Gradle Plugin Version to 4.1.3 and Gradle Version to 6.9 under File >...
Read more >Execution failed for task ':app:checkDebugAarMetadata' - Reddit
[Fatal Error] sqlite-framework-2.1.0.pom:2:1: Content is not allowed in ... project :app > com.facebook.flipper:flipper-fresco-plugin:0.93.0 ...
Read more >filter performance optimization (#9943) · Issues - wireshark - GitLab
This issue was migrated from bug 9943 in our old bug tracker. Original bug information: Reporter: Sloven Status: CONFIRMED...
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
As we metioned before,fresco will trying to load so file when devices using API 19. You can use ImagePipelineConfig.setPoolFactory to fix this.
Thanks for your help. It works now.