Cannot change dependencies of configuration ':app:api' after it has been included in dependency resolution

前端 未结 2 1294
情话喂你
情话喂你 2021-02-07 01:30

Cannot change dependencies of configuration \':app:api\' after it has been included in dependency resolution.

相关标签:
2条回答
  • 2021-02-07 01:36

    I was also getting the same error. Thanks to @Dominik for linking to the duplicate issue.

    For now the work around is to downgrade com.google.gms:google-services to version 3.2.1 while the Android team works on a fix.

    0 讨论(0)
  • 2021-02-07 01:46

    For today you can use

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

    Seems it works.

    0 讨论(0)
提交回复
热议问题