Android - Google Sign In Not Working (no Crashes Or Exceptions)
I'm working on an app and I need it to have a Sign In activity. I have been following this (developers.google.com/identity/sign-in/android/sign-in) and this and for some reason, ev
Solution 1:
You can fix this issue by downloading and copying the google-services.json file for your Android app by following the steps below:
- Select your app/project name and Android packagename from this link and click Continue to Choose and configure services.
- Click Continue to Generate Configuration files.
- Download google-services.json and copy the file to the app/ or mobile/ module directory in your Android project.
Solution 2:
Try this...
Check your build variant (Build -> select build variant). Make note of the variant name. Should be debug or release or what ever you have defined
Select project view. Navigate to app -> src and create a directory with the EXACT same name as your build variant.
copy your JSON file to this directory.
Try Build -> clean project. check gradle cosole. you should see something like this (Parsing json file: Drive:\path_to_your_app_dir\your_app_name\app\src\release_prod\google-services.json )
Post a Comment for "Android - Google Sign In Not Working (no Crashes Or Exceptions)"