Rename apk to git branch name in android

1 · Burhanuddin Rashid · Aug. 29, 2021, 3:24 a.m.
This is a short blog combining multiple resources I found on the internet in one place. Problem When we build apk in android by default the apk file is named based on the combination of the main application module name appending by buildType. For example app-debug.apk of app-release.apk This works fine until QA teams are involved and they are testing multiple apk at the same time. So when QA builds the apk locally or from CI, and testing multiple tasks, it’s hard to identify which apk is for whi...