Closed matfin closed 1 year ago
It turns out that there was another dependency being listed in my android/build.gradle
file as follows:
firebaseMessagingVersion = "21.1.0"
firebaseVersion = "18.0.0"
These were added in the past and were no longer needed. Having these in here must have caused issues, so removing them fixed the build issue. Hope this helps someone.
Thank you, @matfin! Your solution saved me hours of potentially wasted time.
What is this? Building for Android fails with the following error message:
Steps 1) Followed the installation instructions at https://wix.github.io/react-native-notifications/docs/getting-started and https://wix.github.io/react-native-notifications/docs/installation-android for Android specific steps.
Note
./android/build.gradle
I didn't add inclasspath 'com.google.gms:google-services:4.0.0'
under buildScript => dependencies because I already haveclasspath 'com.google.gms:google-services:4.3.10'
in there already.0.69.8
.React native info Running
npx react-native info
yields:Full relevant console message