I have this strange error for a hours and I can't fix it. I have all dependencies that I need.
dependencies {
implementation project(':react-native-firebase')
implementation project(':react-native-code-push')
implementation project(':react-native-sentry')
implementation project(':react-native-vector-icons')
implementation project(':react-native-iap')
implementation project(':react-native-amplitude-analytics')
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
implementation "com.facebook.react:react-native:+" // From node_modules
implementation "com.google.android.gms:play-services-base:16.0.1"
implementation "com.google.firebase:firebase-core:16.0.6"
implementation "com.google.firebase:firebase-ads:15.0.1"
implementation "com.google.firebase:firebase-config:16.1.2"
implementation "com.google.firebase:firebase-messaging:17.3.4"
implementation "com.google.firebase:firebase-auth:9.6.1"
implementation "com.google.firebase:firebase-database:9.6.1"
implementation "com.google.firebase:firebase-messaging:17.3.0"
implementation "com.google.firebase:firebase-core:16.0.3"
implementation "com.google.firebase:firebase-auth:16.0.3"
implementation "com.google.firebase:firebase-database:16.0.1"
}