-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
Android build issue: "Execution failed for task ':app:checkDebugDuplicateClasses'." #293
Comments
I tried most of the solutions in this thread, and I was able to get it to the point where it built successfully, but then immediately crashed every time I opened the app. Also, in order to do that, I had to downgrade a few things. I was hoping to not have to do that, but if I need to in order for it to work, that's fine. |
i have solved this issue by removing the all firebase dependencies and added only the dependency what the code needed. |
Hey @sethcwhiting did you solve the crash on launch? |
Hey guys I’m reopening this now. @ammarahm-ed do you or anyone else know of any way to reconcile the 2 packages? Maybe force |
Try Latest Firebase analytics dependency. |
thanks, @emdotysru21, When I do that, I get a bunch of other errors on Android and my iOS build breaks. |
Facing this same issue. I'm unable to use this library alongside react-native-notifications's default firebase version: implementation 'com.google.firebase:firebase-core:16.0.0'. I was able to get it working but I had to upgrade to implementation 'com.google.firebase:firebase-core:20.1.2' to match this library's but not sure if that'll introduce issues/regressions for notifications. Will update here if so. |
I'm a JS/React/React Native dev who rarely needs to deal with native code and I'm struggling a bit to get my app running with this package installed. I followed each step of the installation instructions, and I was able to eventually get the project to build on iOS with a lot of help from a friend who's an iOS expert. I'm still struggling with the Android build, though. I'm getting this error:
It seems like there's probably a conflict with another package I'm using on the project, but I'm at a bit of a loss as to which one. Then once I find the conflicting package, I'm not really sure how to go about resolving the conflict. Any help/insight I could get on this would be greatly appreciated. For context, here's my
android/app/build.gradle
file:The text was updated successfully, but these errors were encountered: