In my project I have a few modules. If Build Variant tab all in debug build variant all is ok

But if I change one of the module to release build variant his dependency modules also change to release, but with kind of error

I tried this solution
https://stackoverflow.com/a/52011770/5709159
for me it doesn't work
How to fix it?
Hover over the red area you can see the reason:
Module 'XXX' has variant 'release' selected, but the module "XXX" depends on variant 'debug'
It's because the dependent modules are using the wrong building variant.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With