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

Execution failed for task ':app:processDebugGoogleServices'. #4

Closed
skabirgithub opened this issue May 2, 2020 · 1 comment
Closed

Comments

@skabirgithub
Copy link

Executing tasks: [:app:assembleDebug] in project C:\Users\skabi\AndroidStudioProjects\beacon\android native\iBeacon-Android-master

Task :app:preBuild UP-TO-DATE
Task :app:preDebugBuild UP-TO-DATE
Task :app:compileDebugAidl NO-SOURCE
Task :app:generateDebugBuildConfig
Task :app:compileDebugRenderscript NO-SOURCE
Task :app:javaPreCompileDebug
Task :app:mainApkListPersistenceDebug
Task :app:generateDebugResValues
Task :app:generateDebugResources
Task :app:processDebugGoogleServices FAILED

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\skabi\AndroidStudioProjects\beacon\android native\iBeacon-Android-master\app\src\nullnull\google-services.json
C:\Users\skabi\AndroidStudioProjects\beacon\android native\iBeacon-Android-master\app\src\debug\google-services.json
C:\Users\skabi\AndroidStudioProjects\beacon\android native\iBeacon-Android-master\app\src\nullnullDebug\google-services.json
C:\Users\skabi\AndroidStudioProjects\beacon\android native\iBeacon-Android-master\app\src\nullnull\debug\google-services.json
C:\Users\skabi\AndroidStudioProjects\beacon\android native\iBeacon-Android-master\app\src\debug\nullnull\google-services.json
C:\Users\skabi\AndroidStudioProjects\beacon\android native\iBeacon-Android-master\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 22s
5 actionable tasks: 5 executed

Jaosrikate added a commit that referenced this issue May 17, 2020
@Jaosrikate
Copy link
Owner

Jaosrikate commented May 17, 2020

Sorry for my mistake.

Delete line 45 in app/build.gradle file.
apply plugin: 'com.google.gms.google-services'

It will solve this build exception
Thanks for report

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

2 participants