Contextioner Contextioner - 1 year ago 79
Android Question

Cannot add java files to the paid Product Flavor

I have created a project with two flavours. The free flavour I can add java files but the paid on I cannot create java and res directory to add java files. I have manually created both the free and paid directory.

productFlavors {
free {
applicationId ""
paid {
applicationId "com.sagar.joker.paid"

Check the Project Structure

Answer Source

You can choose active flavor in Android Studio in BuildVariants in left bottom corner.

choose flavor

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download