Member-only story
Setup an Android Environment— debug , staging and release.
In this article we will see how to setup debug
, staging
and release
environment in android development and will also see where we keep our secret keys (eg — Base Url) of each environment.
DEBUG (development env.)
This environment is used by us (developer) to develop and test the application.
STAGING (testing env.)
After development , we will give staging environment’s build to tester for the testing.
RELEASE (production env.)
This environment’s build will be deployed on the Play Store and available for users.
Before creating these environments we have to understand some technical terms →
Build Types
debug
,staging
andrelease
is your build types in android development.- By default there will be two build types in android projects i,e,
debug
andrelease
. - by default
debug
env. is selected , It means we run the application in debug mode.
Flavours
- Through this
flavours
feature , we can create more than one version of any application. - Suppose we want some…