简体   繁体   中英

- 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.

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'
}

Update google-service dependency in project gradle

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

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM