How use agconnect-services for different flavors?

Viewed 49

I have two dimensions of flavors:

flavorDimensions 'services', 'version'
    productFlavors {
        huawei {
            dimension 'services'
            applicationIdSuffix '.huawei'
        }
        huaweiFree {
            dimension 'services'
            applicationIdSuffix '.free.huawei'
        }
        google {
            dimension 'services'
        }
        alpha {
            dimension "version"
        }
        production {
            dimension "version"
        }
    }

How can I add different agconnect-services.json for huawei and huaweiFree? I tried all paths, but plugin can`t find services.

--W- The variant: huaweiFreeAlphaDebug, There's no json file
--I- there's no config file
0 Answers
Related