Skip to content Skip to sidebar Skip to footer

How To Use Productflavors For Android Aab Bundles

I try to build different Android app bundles via productFlavors. To keep and test the files I need a fixed file name. For APK's I have the following working code: applicationVa

Solution 1:

Did you try to replace def versionCode = android.defaultConfig.versionCode by def versionCode = flavor.versionCode?

I think it meets your need.

Post a Comment for "How To Use Productflavors For Android Aab Bundles"