- Install Java 8: https://adoptopenjdk.net/
- Install
Ruby
:- Windows: https://rubyinstaller.org/downloads/ (
Ruby+Devkit 2.7.2-1 (x64)
is recommended) - Linux: https://www.ruby-lang.org/vi/documentation/installation/
- macOS: built-in
- Windows: https://rubyinstaller.org/downloads/ (
- Install
fastlane
with the following command:gem install fastlane –NV
- Name key file as
.key.json
and put it intofastlane
folder. - Put
.env.secret
file intofastlane
folder. - For first time setup, go to directory where
fastlane
folder resides and run this command to fetch metadata:fastlane supply init
- Open project in
Android Studio
and make sure that all combinations of configurations & flavors run without errors. - Run
fastlane deploy
and follow instructions to distribute app:Development
,Production
is internal app sharing.Play Store
will deploy app to internal testing, which then can be promoted & published to production.