У меня есть некоторые проблемы с response-native-firebase.Я отказался от своего клиентского проекта на Экспо, чтобы использовать реактивную базу-огонь в Android.Я думаю, что у меня проблема с другой версией моих библиотек и зависимостей.
Мои зависимости:
react-native: 0.57.1
react-native-firebase: “~5.5.4”
expo: “^31.0.5”
expokit: “^31.1.0”
в android / app / gradle
implementation “com.google.android.gms:play-services-base:16.1.0”
implementation ‘com.google.firebase:firebase-core:17.0.0’
в андроиде / gradle
classpath ‘com.android.tools.build:gradle:3.4.1’
classpath ‘de.undercouch:gradle-download-task:2.0.0’
classpath ‘com.google.gms:google-services:4.2.0’
Моя проблема:
`Cannot find a version of ‘com.android.support:support-annotations’` `that satisfies the version constraints:`
Dependency path ‘android:react-native-maps:unspecified’ --> `enter code here`‘com.facebook.react:react-native:31.0.0’ --> ‘com.android.support:appcompat-v7:27.1.1’ --> ‘com.android.support:support-annotations:27.1.1’
Constraint path ‘android:react-native-maps:unspecified’ --> ‘com.android.support:support-annotations:{strictly 24.0.0}’ because of the following reason: debugRuntimeClasspath uses version 24.0.0
Constraint path ‘android:react-native-maps:unspecified’ --> ‘com.android.support:support-annotations:{strictly 24.0.0}’ because of the following reason: debugRuntimeClasspath uses version 24.0.0
Dependency path ‘android:react-native-maps:unspecified’ --> ‘com.facebook.react:react-native:31.0.0’ --> ‘com.android.support:appcompat-v7:27.1.1’ --> ‘com.android.support:support-core-utils:27.1.1’ --> ‘com.android.support:support-annotations:27.1.1’
Dependency path ‘android:react-native-maps:unspecified’ --> ‘com.facebook.react:react-native:31.0.0’ --> ‘com.android.support:appcompat-v7:27.1.1’ --> ‘com.android.support:support-fragment:27.1.1’ --> ‘com.android.support:support-annotations:27.1.1’
Dependency path ‘android:react-native-maps:unspecified’ --> ‘com.facebook.react:react-native:31.0.0’ --> ‘com.android.support:appcompat-v7:27.1.1’ --> ‘com.android.support:support-vector-drawable:27.1.1’ --> ‘com.android.support:support-annotations:27.1.1’
Dependency path ‘android:react-native-maps:unspecified’ --> ‘com.google.android.gms:play-services-base:10.2.4’ --> ‘com.google.android.gms:play-services-basement:10.2.4’ --> ‘com.android.support:support-v4:24.0.0’ --> ‘com.android.support:support-annotations:24.0.0’
Dependency path ‘android:react-native-maps:unspecified’ --> ‘com.facebook.react:react-native:31.0.0’ --> ‘com.android.support:appcompat-v7:27.1.1’ --> ‘com.android.support:support-core-utils:27.1.1’ --> ‘com.android.support:support-compat:27.1.1’ --> ‘com.android.support:support-annotations:27.1.1’
Dependency path ‘android:react-native-maps:unspecified’ --> ‘com.facebook.react:react-native:31.0.0’ --> ‘com.android.support:appcompat-v7:27.1.1’ --> ‘com.android.support:support-fragment:27.1.1’ --> ‘com.android.support:support-core-ui:27.1.1’ --> ‘com.android.support:support-annotations:27.1.1’