Home » Java » java – How to set flavor versionCode and versionName at once from string resource file-Exceptionshub

java – How to set flavor versionCode and versionName at once from string resource file-Exceptionshub

Posted by: admin February 25, 2020 Leave a comment

Questions:

Hi i have currently 15+ flavors in my android project. I am changing the flavor’s versionName and versionCode manually while making a release. How do i set the versionCodes and versionNames by a string value of all the flavors at once by declaring it in String Resource File.

How to&Answers: