質問

I know how to create product flavors with gradle.I did successfully created the product flavors and apks as per product flavors.

In my project I have 8 different product flavors.

I want a gradle script by running this script I can generate/clean multiple apks for all the product flavors.

Can anyone please help me?

Additional Information :: I am using android studio 0.8.3

役に立ちましたか?

解決

gradlew build will generate an APK for each variant (flavor + build type).

You can also run gradlew tasks to list all of the tasks available, if you want to generate a few specific variants.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top