Closed
Description
EDIT by @kelset:
TL;DR:
- Google released a new Major version of their Google Play services and Firebase
- this new version has BREAKING CHANGES (release notes)
- some third-party libraries used in react-native projects have loose dependencies on said services, most likely in the
:+
form in their gradle configuration - this is causing Gradle buils to fail because of those BC mentioned above
- to fix, you need to set the dependency to a precise version instead of the
:+
- you can find out which libraries are "pulling in" this new version by running
gradlew app:dependencies
and searching the output forandroidx
(more details here)
Please refer to this comment (and the follow ups) for more details on how to fix - in particular, for debugging, read this comment.
React Native version: 0.58.0
Platform : android
Here are android version:
buildToolsVersion = "27.0.3"
minSdkVersion = 19
compileSdkVersion = 26
targetSdkVersion = 26
supportLibVersion = "26.1.0"
Building app on android before today is working fine.
and suddenly got this issue in android manifest file
.......\android\app\build\intermediates\manifests\full\debug\AndroidManifest.xml:46:
AAPT: No resource identifier found for attribute 'appComponentFactory' in package 'android'
Steps To Reproduce
Describe what you expected to happen:
Snack, code example, or link to a repository: