

But this is not a solution, but an inconvenient crutch. Only changing the order of flavorDimensions helps. The plugin really fails to detect source folders of the flavors and tries to search in a weird locations instead: Our app has two flavor dimensions: distribution_channel (with 2 flavors: googlePlay and appCenter) and region (with 3 flavors: europe, asia, americas). …/app/src/europe/google/play/release/google-services.jsonĪs you can see the plugin doesn’t search in app/src/googlePlay or app/src/googlePlayRelease folders, but for some weird reason searches in a location like app/src/europe/google/play/release 🤷♂️ …/app/src/europe/google/playRelease/google-services.json …/app/src/europe/google/play/google-services.json …/app/src/europe/google/release/google-services.json …/app/src/europe/googleRelease/google-services.json …/app/src/europe/google/google-services.json …/app/src/europe/release/google-services.json …/app/src/release/europeGooglePlay/google-services.json …/app/src/europeGooglePlay/release/google-services.json

…/app/src/europeRelease/google-services.json …/app/src/europeGooglePlayRelease/google-services.json …/app/src/europeGooglePlay/google-services.json

The Google Services Plugin cannot function without it. > Task :app:processEceGooglePlayReleaseGoogleServices FAILEDĮxecution failed for task ':app:processEceGooglePlayReleaseGoogleServices'. gradlew :app:assembleEuropeGooglePlayRelease The plugin really fails to detect source folders of the flavors and tries to search in a weird locations instead: ▶. failing Plugin name and version: :google-services:4.3.2 (as well as 4.3.0)ĭescription how to use flavor-specific google-services.json:.working Plugin name and version: :google-services:4.2.0.home/kurt/ /app/google-services.jsonĭesktop (please complete the following information): Put google-services.json into a subdirectory / where starts with an uppercase character.įile google-services.json is missing.With 4.3.2 it is only searched in the lower-cased version of the flavor. With 4.2.0 of the plugin the google-services.json was also searched in subdirectories flavor/build-type when the flavor starts with a capital letter.
