How to fix Execution failed for task ':app:processDebugManifest' in React Native?
Upgrading 'react-native-device-info' to version 2.1.2 fixed the error for me. See http://github.com/facebook/react-native/issues/25294#issuecomment-503024749
I had some more libraries(other than deviceinfo) that depended on gcm so I used this to fix the issue: https://stackoverflow.com/a/56648987/8306924
finally found a solution after 2days and just added below two lines to android/build.gradle
googlePlayServicesVersion = "16.+"
firebaseVersion = "17.3.4"