-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 dependency 'com.google.firebase:firebase-messaging' has different version for the compile (18.0.0) and runtime (19.0.0) classpath. You should manually set the same version via DependencyResolution #2249
Comments
Check the versions and the release notes, Google Play released a breaking change and you need to pin your dependencies using ext{} blocks to make sure you don't pull in the AndroidX version. This is essentially a duplicate then - #1588 - not to be short but the entire react-native ecosystem is dealing with this earthquake at the moment. Just know that projects will build you just need to specify your dependencies carefully (as was always the case but this hit more people at once) |
Hey @mikehardy Will you please describe steps to solve this problem and I stuck in this from 3 days |
I have similar problem. |
try add
|
Thanks @procoru AAPT: No resource identifier found for attrib Also tried to solve this problem then it gives another error, didn't find the particular solution |
Sorry guys, this is general gradle stuff, it's not specific to this library. You'll have to read up on how to manage your gradle dependencies, and since those specific versions (from 18 to 19 on messaging) cross the AndroidX boundaries you'll have to learn up on that as well. This will be happening for the next couple months, it's worth the study time https://developer.android.com/jetpack/androidx/migrate / facebook/react-native#25293 |
Hey guys,
I am facing this above issue since yesterday.
Initially, Everything was working fine but suddenly the project stops working.
Dependencies are:
Solutions tried:
Tired to change the version of com.google.firebase:firebase-messaging to 19.0.0 in Build.gradle file.But it gives another error
These are my other dependencies in build.gradle:
`
implementation "com.google.android.gms:play-services-base:16.1.0"
`
Please help if anyone face that issue
The text was updated successfully, but these errors were encountered: