https://kotlinlang.org logo
#android-studio
Title
# android-studio
z

Zoltan Demant

10/30/2023, 6:21 AM
When I select release as my build variant in AS, theres always a few modules that I need to change manually. Why is that?
m

matsem

10/30/2023, 10:57 AM
In my experience, when I first change the android application module first, then others will change automatically to the same (or fallback) variant.
z

Zoltan Demant

10/30/2023, 11:27 AM
This is what I do as well, but there's always a few modules that just remain on the old value
u

ursus

10/30/2023, 11:07 PM
why do you switch to release, though?
z

Zoltan Demant

10/31/2023, 3:53 AM
To make sure behavior is consistent before I push anything to the play store! 😃
u

ursus

10/31/2023, 12:00 PM
yea but you can buikd it via commandline, no need to mess around with build variants
./gradlew :app:assembleRelease