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?

