How to use “productFlavors” in gradle

Main documentation

https://developer.android.com/tools/building/configuring-gradle.html

How to run specific buildvariant

http://stackoverflow.com/questions/19234499/how-to-build-product-flavors-from-android-studio

How to create Java root folder in favor folder

http://stackoverflow.com/questions/21697565/android-studio-project-with-flavors-sources-directory-not-shown-in-blue-color

How to override string resource

http://stackoverflow.com/questions/19296068/build-android-with-gradle-replace-string-each-product-flavor

Advertisements

Published by