I have configured my project to have multiple product flavors. I have the following code in my module build.gradle
:
android {
// Rest of the configuration omitted for clarity
buildTypes {
debug {
// ...
}
release {
// ...
}
}
productFlavors {
paid
free
}
}
If I create a file (any file: Java, resources, ...), in the paid
, free
, debug
or release
, it is recognized by Android Studio and I can use it in my project.
However, if the same file is created in paidDebug
(or a similar folder) it is not recognized in Android Studio. Do I need any extra configuration for this to work? Is this not supported (yet)?
app/src/paidDebug/{java,res}
. If I replacepaidDebug
withpaid
it works as expected. – Lorrettalorri