You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/05/17 18:33:17 UTC

[GitHub] [cordova-android] breautek commented on issue #1374: Build failing after upgrade cordova-android 10

breautek commented on issue #1374:
URL: https://github.com/apache/cordova-android/issues/1374#issuecomment-1129191548

   There seems to be a mix of different issues in this thread,
   
   Using the [mock test google services](https://github.com/firebase/quickstart-android/blob/master/mock-google-services.json) I was able to build/compile successfully with the following configuration.
   
   ```xml
   <preference name="GradlePluginGoogleServicesEnabled" value="true" />
   <preference name="GradlePluginGoogleServicesVersion" value="4.3.8" />
   ```
   
   > * What went wrong:
   Some problems were found with the configuration of task ':app:processReleaseGoogleServices' (type 'GoogleServicesTask').
     In plugin 'com.google.gms.googleservices.GoogleServicesPlugin' type 'com.google.gms.googleservices.GoogleServicesTask' field 'intermediateDir' without corresponding getter has been annotated with @OutputDirectory.
     ...
   
   This appears to be caused by a third-party plugin.
   
   > * What went wrong:
   A problem occurred evaluating project ':app'.
   > Failed to apply plugin 'com.google.gms.google-services'.
      > Cannot add extension with name 'googleServices', as there is an extension already registered with that name.
      
      This also appears to be caused by a third-party plugin possibly also adding google services.
      
   If this is the case, then it would be up to plugin maintainers to update their codebase. Or perhaps the plugin is obsolete because it's doing (or attempting to do) what Cordova is already doing.
   
   If you believe this is still a bug inside Cordova's framework, we will need a minimal sample app to reproduce this issue.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org