I'm running react-native run-android and it keeps failing during the build. I'm using the latest version of android studio and I believe everything is in order regarding firebase imports (referencing "Add Firebase To your Android App Docs and React-native-fcm) as I'm using firebase services. However, I keep running into this error below and it seems to have something to do with how importing google services and such.
Extended Error Message
* What went wrong:
Failed to capture snapshot of input files for task ':app:checkDebugClasspath' property 'runtimeClasspath' during up-to-date check.
> The library com.google.android.gms:play-services-base is being requested by various other libraries at [[10.2.4,10.2.4]], but resolves to 16.0.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Exception is:
org.gradle.api.UncheckedIOException: Failed to capture snapshot of input files for task ':app:checkDebugClasspath' property 'runtimeClasspath' during up-to-date check.
at org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository.snapshotTaskFiles(CacheBackedTaskHistoryRepository.java:331)
at org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository.createExecution(CacheBackedTaskHistoryRepository.java:151)
I'm running
react-native run-android
and it keeps failing during the build. I'm using the latest version of android studio and I believe everything is in order regarding firebase imports (referencing "Add Firebase To your Android App Docs and React-native-fcm) as I'm using firebase services. However, I keep running into this error below and it seems to have something to do with how importing google services and such.Extended Error Message
build.gradle
app/build.gradle