I updated \'android.support:appcompat-v7\' to 28.0.0.
28.0.0
But it brought an error from the build.
Attribute application@appComponentFactory
Upgrading 'react-native-device-info' to version 2.1.2 fixed the error for me. See github.com/facebook/react-native/issues/25294#issuecomment-503024749
'react-native-device-info'
version 2.1.2
In short: the library used "services-gcm:+" as a dependency, and the latest gcm version caused this problem.
"services-gcm:+"