title: Could not create task ':app:processDebugGoogleServices'
body: <p>**So i have a problem when adding this line</p>
  <blockquote>
  <p>id 'com.google.gms.google-services'</p>
  </blockquote>
  <p>into plugins in app gradle</p>
  <p>**</p>
  <pre><code>    Could not create task ':app:processDebugGoogleServices'.
  DefaultTaskContainer#NamedDomainObjectProvider.configure(Action) on task set cannot be executed in the current context.
  
  * Try:
  Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  
  * Exception is:
  com.intellij.openapi.externalSystem.model.ExternalSystemException: Could not create task ':app:processDebugGoogleServices'.
  DefaultTaskContainer#NamedDomainObjectProvider.configure(Action) on task set cannot be executed in the current context.
      at org.jetbrains.plugins.gradle.model.ProjectImportAction.addBuildModels(ProjectImportAction.java:259)
      at org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.java:117)
      at org.jetbrains.plugins.gradle.model.ProjectImportAction.execute(ProjectImportAction.java:42)
      at org.gradle.tooling.internal.consumer.connection.InternalBuildActionAdapter.execute(InternalBuildActionAdapter.java:77)
      at org.gradle.tooling.internal.provider.runner.ClientProvidedPhasedActionRunner$ActionRunningListener.runAction(ClientProvidedPhasedActionRunner.java:120)
      at org.gradle.tooling.internal.provider.runner.ClientProvidedPhasedActionRunner$ActionRunningListener.run(ClientProvidedPhasedActionRunner.java:110)
      at org.gradle.tooling.internal.provider.runner.ClientProvidedPhasedActionRunner$ActionRunningListener.buildFinished(ClientProvidedPhasedActionRunner.java:104)
      at jdk.internal.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
      at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      at org.gradle.internal.event.DefaultListenerManager$ListenerDetails.dispatch(DefaultListenerManager.java:398)
      at org.gradle.internal.event.DefaultListenerManager$ListenerDetails.dispatch(DefaultListenerManager.java:380)
      at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:61)
      at org.gradle.internal.event.DefaultListenerManager$EventBroadcast$ListenerDispatch.dispatch(DefaultListenerManager.java:368)
      
  </code></pre>
  <p>**now is this line necessary for firebase with android
  becuase i think if i delete this line maybe problems happens in code i hope you guys understand me  **</p>
  <p>**all this problem hapen when i add the firebase cloud messaging but i have found that this is not the problem the problem was only in that line **</p>
  <p>*</p>
  <blockquote>
  <p>id 'com.google.gms.google-services'</p>
  </blockquote>
  <ul>
  <li></li>
  </ul>