Google-signin: Android: "Each module must have a unique path."

Created on 19 Nov 2019  Â·  7Comments  Â·  Source: react-native-google-signin/google-signin

Hi there's,

I have problem when build with android, I follow link setup https://github.com/react-native-community/react-native-google-signin/blob/master/docs/android-guide.md for android. But I have issue bellow.

ERROR: The modules ['@react-native-community_google-signin', 'react-native-google-signin'] point to the same directory in the file system.
Each module must have a unique path.

Environment

Please provide

  • react-native version: 0.61.4
  • @react-native-community/google-signin version: ^3.0.3

Thanks for support, have a good day!!!

Most helpful comment

hi, please remove any mentions of '@react-native-community_google-signin' and 'react-native-google-signin' from settings.gradle and build.gradle

All 7 comments

hi, please remove any mentions of '@react-native-community_google-signin' and 'react-native-google-signin' from settings.gradle and build.gradle

@vonovak Thank you very much!

hi, please remove any mentions of '@react-native-community_google-signin' and 'react-native-google-signin' from settings.gradle and build.gradle

would you please elaborate...

@CVRamana these files are located in the android folder (inside the android project)

Hi,
Thanks for your reply. Would u please provide the necessary screenshot of
the folder and location.

On Fri, Jan 3, 2020, 13:37 Vojtech Novak notifications@github.com wrote:

@CVRamana https://github.com/CVRamana these files are located in the
android folder (inside the android project)

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/react-native-community/react-native-google-signin/issues/783?email_source=notifications&email_token=AIAJDI6LXVC3PNSQQQRH5ULQ33W2JA5CNFSM4JO75WUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIAROOQ#issuecomment-570496826,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIAJDIY72NA5APIF4XQOBI3Q33W2JANCNFSM4JO75WUA
.

@CVRamana just go to your root project
android/settings.gradle and the other file android/app/build.gradle
and comment or delete the modules are mentioned in the error

@vonovak thankyou soo much sir

Was this page helpful?
0 / 5 - 0 ratings