-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/facebook/drawee/backends/pipeline/info/ImagePerfDataListener; #41937
Comments
|
Hello, have you found a solution? |
ProblemIt looks like the facebook/fresco@ac00658: - import com.facebook.drawee.backends.pipeline.info.ImagePerfDataListener;
+ import com.facebook.fresco.ui.common.ImagePerfDataListener; The above change was merged into Fresco@v3.0.0, and RN v0.73 bumped Fresco to this version in commit 823839b. Solution/workaroundAt the same time, ReactNativeFlipper.kt:14 mentions: /**
* Stub class that does nothing to ease the migration out of Flipper. Users should stop calling
* `ReactNativeFlipper.initializeFlipper` in their `MainApplication.java` as this class will be
* removed in React Native 0.75 or future versions.
*/ And indeed, if the Alternatively, it's possible to keep Flipper without having to create a new project and transferring everything manually. One way to do this would be to check the changes from 0.72.7 to 0.73.1 using the upgrade helper, and manually merge the relevant parts, although this would be a very manual process. Godspeed. |
The issue is caused by your update which is not done correctly. See https://react-native-community.github.io/upgrade-helper/?from=0.72.8&to=0.73.1: Please make sure you follow the upgrade helper correctly |
That worked like a charm, thx @cortinico |
Thanks @cortinico and @parlet for the solutions!!!! Works perfectly! |
The issue still persist even after using the upgrade helper |
How do I use flipper in react native if I remove it? I am on RN 0.75.3. Thanks |
Description
Once my app is installed in the device i try opening it but it crashes. Used to work but recently i did a npm install, npm upgrade, npm update and installed the lastest react native version 0.73.0.
Already tried to reset cache and gradlew clean but didnt work.
Steps to reproduce
(Dont know how to reproduce, maybe by creating a project in react native 0.72.4 and trying to upgrade it)
React Native Version
0.73.0
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
.
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: