无法确定任务';的依赖项:react-native-firebase应用程序:compiledBugaidl';

无法确定任务';的依赖项:react-native-firebase应用程序:compiledBugaidl';,firebase,react-native,firebase-realtime-database,react-native-android,react-native-firebase,Firebase,React Native,Firebase Realtime Database,React Native Android,React Native Firebase,我正在为数据库使用react native firebase,并使用firebase mlkit的react native摄像机。安装“react native firebase”时出现问题,现在出现以下错误: Could not determine the dependencies of task ':react-native-firebase_app:compileDebugAidl'. > The library com.google.android.gms:play-service

我正在为数据库使用
react native firebase
,并使用
firebase mlkit
react native摄像机。安装“react native firebase”时出现问题,现在出现以下错误:

Could not determine the dependencies of task ':react-native-firebase_app:compileDebugAidl'.
> The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[17.2.2,17.2.2]], but resolves to 17.2.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
这是我的gradle库实现:

    implementation "com.google.firebase:firebase-analytics:17.2.2"  // Firebase analytics
    implementation 'com.google.firebase:firebase-core:17.0.0'
    implementation 'com.google.firebase:firebase-database:17.0.0'


我检查了前面的stackoverflow问题,并尝试将
firebase core
firebaser数据库
版本更改为与
firebase analytics
相同的版本,但在解析包路径时出现错误。我尝试用“+”替换版本,但没有成功。

我可以通过重新启动计算机并在Android Studio中同步项目来解决问题我可以通过重新启动计算机并在Android Studio中同步项目来解决问题谢谢分享此信息,我通过更新版本解决了这个问题。不客气,你能分享一下你是如何找到解决方案的,或者至少是一个链接(这可能对其他人有帮助)。谢谢分享谢谢,我通过更新版本解决了这个问题不客气,你能分享一下你是如何找到这个解决方案的,或者至少是一个链接(这可能对其他人有帮助)。非常感谢。