简体   繁体   中英

How to generate productFlavors in parallel in gradle

I have created different productFlavors of android app so build them in parallel, is there any way to build productFlavors in parallel using gradle.

I want to generate multiple apk's

Your question is not clear enough, are you trying to build apk files for all the flavors? If that's the case then you can enter this command while you are in the directory where gradle is installed

gradlew clean assembleFlavoreOne assembleFlavorTwo assembleFlavorThree

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM