How to set the APK file name specific to both flavor AND build type developing for Android Gradle

0 votes
asked Mar 11, 2016 by Do1326 (1,140 points)
Thanks for your help and comments. For Gradle in Android Studio:there are many posts explaining how to set APK file name based on build type.

3 Answers

+1 vote
answered May 30, 2016 by download (1,020 points)
Best answer
I was searching something like that and I found this answer. I found a very good example here
commented May 30, 2016 by an_659 (270 points)
I have myself been looking into this problem
commented May 31, 2016 by GentisAbstr (730 points)
I have a very simple solution for this. Activate by running the simulator and choosing your file
+2 votes
answered Apr 13, 2016 by gillenwater (250 points)

You can add more features to this activity in the full flavor.
New source directories for the demo flavor. Create additional source directories for each flavor. The build system merges all the resources from the all the source directories.
commented Apr 14, 2016 by Eftekhari (1,780 points)
To obtain these passwords from environment variables:storePassword System
commented Apr 15, 2016 by Vf_6521 (560 points)
This resolved the problem
–1 vote
answered May 30, 2016 by glaude (890 points)
For more information on flavor dimensions, see theGradle Plugin UserGuide

What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!