If anyone wants to debug and release separate build variant using Android Studio 3.5, follow the below steps: 1. Set build variant to release mode.
build.gradle
and change your buildTypes
> "release" section like below Screenshot.Then Run your Project. Happy Coding.