I\'m working on a multi-flavor app
. (gradle files below)
It uses a library called tracker
that follow the same flavors internal
My gradle version is 4.4.
In doc, Android developer and Android Plugin DSL Reference show that, should add follow code.
missingDimensionStrategy 'external'
missingDimensionStrategy 'target'
Android developer link image
Android Plugin DSL Reference image
but it not work for me. Finally I add follow code in feature.gradle.
flavorDimensions 'target'
productFlavors {
internal {
dimension "target"
}
}