android-productflavors Questions

3

Is there a way to have compile dependencies by multiple flavors in Android Studio (build.gradle)? I have 2 flavorGroups, and in each 2 variants. Out of the 4 possible combinations I would like to ...

2

I have two product flavors and three build types. buildTypes { debug { signingConfig signingConfigs.debug } release { signingConfig signingConfigs.release minifyEnabled false proguardFiles ...

1

Solved

I would like to set up crashlytics for debug and release mode but I can't find proper informations in firebase docs. At now the app is in one project and there is only one crashlytics for debug an...
Coupling asked 11/2, 2020 at 9:3

0

I have 3 different Firebase projects. and it has to be used in 4 google-service.json use in product flavors. but i get an below error File google-services.json is missing. The Google Services P...

1

Solved

About a week ago I starded developing a white-label app, where the only thing that will differ from app to app are some color values, source of images and API endpoints, but the app itself does the...
Diatom asked 7/8, 2019 at 13:35

1

Solved

I'm trying to do this, but with a single dimension so it's simpler: How to specify unit test folder in two-dimension flavor app module build.gradle specifies 2 flavors, free and premium: apply p...
Teller asked 3/8, 2019 at 22:1

4

Solved

I'm working on a white brand app. We create a different flavor per client and each client has Debug and Production APIs, so I'm trying to set them up in the Gradle. How should I do that? Here i...

1

I am build different flavor of Flutter app with different Firebase environment (development and production). I need set different bundle ID for development and production in Xcode for iOS apps. I...
Brioche asked 3/2, 2019 at 19:5

3

Solved

This is self-answered question to share my knowledge. I have a project with multiple product flavors and I want to integrate Fabric using separate organizations for each product flavor. I tried t...

2

https://drive.google.com/file/d/1cIoD5Uw5Jkut--qsJUX_hYBx13gbFNM2/view See in above video I have an app with 2 different flavors. I have added different app icons and some different images that i...
Sorrell asked 28/11, 2018 at 12:48

3

I have a question, but I'm sitting here in front of my app since hours but I can't understand what the problem is. I have an android app (written in kotlin) and I want to make two product flavors a...

4

Solved

I'm working on a multi-flavor app. (gradle files below) It uses a library called tracker that follow the same flavors internal and external Now for the tricky part, come a new module called featu...

2

Solved

I have an Android app built with Gradle, which contains BuildTypes and Product Flavors (variants). I can for example run this command to build a specific apk: ./gradlew testFlavor1Debug ./gradlew ...
Crabbed asked 19/3, 2015 at 15:9

1

How to use the manifest command "replace" to replace an activity from the main package by an activity with the same name but in a flavor package? com.name.project/main/ -ActivityA replace by co...
Denning asked 4/12, 2016 at 22:20

3

Solved

In build.gradle, I have product flavors set up: productFlavors { AlternateFlavour { applicationId "com.myapp.alternateflavour" } } Then in the sourceSets section, I use different resource, a...

2

I have problem with android gradle build. Long story short, I have created 2 flavors: productFlavors{ abcDemoFree{ } abcDemo{ } } Eeach flavor has his own Activity(Settings.java) and layout...
Diurnal asked 23/2, 2015 at 11:27

2

Solved

I am trying to use the resConfig and resConfigs from the Android Build system. Android Studio version 1.2.2 Gradle build version 1.2.3 OSX 10.10.3 I was having problem with these 2 options wit...
Timpani asked 22/7, 2015 at 14:35

2

Solved

I want different string value from ndk library. as i have two flavor demo and live I want value "hello I am from demo " for demo flavor and for live flavor i want "hello I am from live " Here is m...
Rigidify asked 17/11, 2017 at 12:3

2

Solved

I have An app with tow flavors ... only one of them needs some permissions. How can I request these permissions only for this flavor during building apk? These are the permissions needed: <us...
Embolism asked 6/11, 2017 at 20:20

1

Solved

I'm trying to setup different build variants for Android Studio 3.0 and gradle plugin 3.0, but Android Studio doesn't create build variant for each my flavor. Gradle build is successfull but I don'...

2

I'm creating a very simple app with a free and paid version, for this I'm using the great productFlavors feature in the Android Gradle plugin. I understand how the build.gradle file should be confi...
Wismar asked 13/3, 2014 at 3:42

2

Solved

I am trying to set a buildConfigField in my productFlavor block, and then reference that field elsewhere in my gradle build file so that I can use this value when constructing the name for my apk. ...
Cannae asked 12/4, 2014 at 1:29

6

Solved

I defined my own flavor and set sourceSet: sourceSets { main.java.srcDirs += 'src/main/kotlin' // WORKS myflavor.java.srcDirs += 'src/myflavor/kotlin' // DOESN'T WORK } here is my project str...
Laundrywoman asked 4/11, 2014 at 10:9

2

Solved

I am trying to modify my gradle file to allow for different names for my app based on Flavor and Build Type. So far, I have been successful in being concise with Flavor based naming using Manifest ...

2

Solved

I currently have an Android project using gradle and integrated with travis.ci which has different productFlavors and buildTypes. When the "connectedCheck" task is then executed on travis.ci, it tr...

© 2022 - 2024 — McMap. All rights reserved.