Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

DefaultTaskContainer#NamedDomainObjectProvider.configure(Action) on task set cannot be executed in the current context

I am getting this error when I try to connect my app with firebase.enter image description here

enter image description here and here are Gradle scripts enter image description here

enter image description here

like image 212
sailaminoak Avatar asked Aug 08 '21 08:08

sailaminoak


2 Answers

Google broke something in com.google.gms:google-services:4.3.9

Change it to com.google.gms:google-services:4.3.8 and I suspect it will work. I have the same issue, and no amount of fiddling around with gradle scripts has fixed it, only downgrading.

like image 59
Mike Macpherson Avatar answered Nov 11 '22 13:11

Mike Macpherson


A new version 4.3.10 was released with a fix. Give it a try

https://firebase.google.com/support/release-notes/android#google-services_plugin_v4-3-10

like image 2
rlazo Avatar answered Nov 11 '22 14:11

rlazo