I m currently working on an android project, so when I upgrade the project from android targetSdkVersion 21 to 27, the project won\'t work.
so if there\'s anyon
If you have stumbled upon this problem due to getting this error recently out of nowhere in react native- this is due to the latest BREAKING CHANGE in Google Play service and Firebase. Specially you will have problem with the packages which are dependent on -
com.google.android.gms:play-services-gcm
Check this thread first -
https://github.com/facebook/react-native/issues/25293
And solution would mostly be like this -
https://github.com/facebook/react-native/issues/25293#issuecomment-503045776