Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Some problems were found with the configuration of task ':app:processDebugGoogleServices' (type 'GoogleServicesTask')

I'm pretty new to android studio and I am doing my project and I am stuck because of this error and cant find a solution anywhere

Some problems were found with the configuration of task ':app:processDebugGoogleServices' (type 'GoogleServicesTask').

  • Type 'com.google.gms.googleservices.GoogleServicesTask' field 'intermediateDir' without corresponding getter has been annotated with @OutputDirectory.
like image 476
BenKratos Avatar asked Jun 12 '21 12:06

BenKratos


People also ask

Why execution failed for task “processdebuggoogleservices”?

“Execution failed for task ':app:processDebugGoogleServices'.” Code Answer’s Execution failed for task ':app:processDebugGoogleServices'. You should delete a line apply plugin: 'com.google.gms.google-services' because "com.android.application" package already has same package. because "com.android.application" package already has same package.

How to get the stack trace of Google services task?

Type 'GoogleServicesTask' field 'intermediateDir' without corresponding getter has been annotated with @OutputDirectory. 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.

What happened to the configuration 'compile' in the Android Gradle plugin?

> Configure project :app WARNING:: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed in version 7.0 of the Android Gradle plugin.


Video Answer


1 Answers

in build.gradle(Project Level) try upgrade google-services in dependencies

'com.google.gms:google-services:4.3.8'

this upgrade as mentioned in here Firebase

google-services plugin 4.3.8

like image 101
BobTheCat Avatar answered Oct 21 '22 07:10

BobTheCat