使用react-native-google-signin与Firebase auth(android实现)

问题描述 投票:0回答:1

我按照 说明 然而,我仍然收到错误信息。

Could not resolve project :react-native-google-signin.
     Required by:
         project :app
      > Unable to find a matching configuration of project :react-native-google-signin:
          - None of the consumable configurations have attributes.

UPDATE 5520下面是导致这个问题的代码行......它在文件中的 settings.gradle

project(':react-native-google-signin').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/google-signin/android')

如有任何想法,将不胜感激

react-native firebase-authentication react-native-android
1个回答
1
投票

其实我已经知道我做错了什么。

因为我使用的是RN >= 0.60......使用了自动链接,所以我不需要在settings.gradle中添加代码。

© www.soinside.com 2019 - 2024. All rights reserved.