I try to use google sign in in my android app, i read the page https://developers.google.com/identity/sign-in/android/start-integrating and i made all steps, now i put my google-services.json in my app folder, and after downloading the google-services.json, i do :
mv Dowloads/google-services.json AndroidStudioProjects/MyApplication/app/
app.iml build build.gradle google-services.json libs proguard-rules.pro src
* What went wrong:
Execution failed for task ':app:processDebugGoogleServices'.
> File google-services.json is missing from module root folder. The Google Services Plugin cannot function without it.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
You also need to add these line of codes in Gradle files if you haven't already. In Module:app_name gradle file, add
apply plugin: 'com.google.gms.google-services'
on top of the file. And in dependencies of the same file, add
Also, in Project:project_name gradle file, add
Also, try to upload a screenshot of the stack trace if this doesn't repair your problem