Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in debug #21

Open
RitweekTiwari opened this issue Oct 24, 2019 · 2 comments
Open

Error in debug #21

RitweekTiwari opened this issue Oct 24, 2019 · 2 comments

Comments

@RitweekTiwari
Copy link

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugGoogleServices'.

File google-services.json is missing. The Google Services Plugin cannot function without it.
Searched Location:
C:\Users\Ritweek\Desktop\flutter-musicplayer\android\app\src\nullnull\debug\google-services.json
C:\Users\Ritweek\Desktop\flutter-musicplayer\android\app\src\debug\nullnull\google-services.json
C:\Users\Ritweek\Desktop\flutter-musicplayer\android\app\src\nullnull\google-services.json
C:\Users\Ritweek\Desktop\flutter-musicplayer\android\app\src\debug\google-services.json
C:\Users\Ritweek\Desktop\flutter-musicplayer\android\app\src\nullnullDebug\google-services.json
C:\Users\Ritweek\Desktop\flutter-musicplayer\android\app\google-services.json

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 6m 44s
Finished with error: Gradle task assembleDebug failed with exit code 1

@amangautam1
Copy link
Owner

As this project is configured with firebase so either you can configure it by your firebase account or if firebase is not required, try removing
apply plugin: 'com.google.gms.google-services'
classpath 'com.google.gms:google-services:3.2.1'
from build.gradle files.

@LiamDai
Copy link

LiamDai commented Aug 2, 2020

I am sorry but after I did this, there is another new problem. I guess it should be migrated to AndroidX, then I tried it, but it still doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants