Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

- Type 'GoogleServicesTask' field 'intermediateDir' without corresponding getter has been annotated with @OutputDirectory

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

  • 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.
like image 969
Manpreet singh Avatar asked Jul 31 '21 17:07

Manpreet singh


2 Answers

Upgrading google-services to 4.3.8 fixed this issue for me.

You can do this by replacing the existing version at build.graddle file.

dependencies {
    classpath 'com.google.gms:google-services:4.3.8'
}
like image 161
Dumi Jay Avatar answered Oct 01 '22 03:10

Dumi Jay


Update google-service dependency in project gradle

  classpath 'com.google.gms:google-services:4.3.10'

enter image description here

like image 42
Sambhav jain Avatar answered Oct 01 '22 01:10

Sambhav jain