android-productflavors Questions
5
In my Android project, there are several product flavors:
buildTypes {
release {}
debug {}
staging {}
}
productFlavors {
freeVersion {}
proVersion {}
partnerVersion {}
}
Also, i use Googl...
Nathanaelnathanial asked 2/2, 2016 at 14:13
5
When I changed the variants in my project with android studio 3.5 in 2019, I could not change from Active Build Variants. I solved this by deleting the .idea and Build folders of the project and ch...
Grillage asked 7/9, 2020 at 8:3
6
Solved
I have a extension method:
fun StoresClientFragment?.onClickButtonBack(){
this?.listener?.onStoresFragmentClickBtnMenu()
}
The app installs without any errors; but when the method is invoked at r...
Dysprosium asked 2/3, 2021 at 16:27
4
Solved
My flutter application has different flavors.
In Android Studio everything is setup in the flavor configuration panel, but where can I do that in Visual Studio Code?
I guess I have to edit the con...
Giaimo asked 3/7, 2019 at 13:1
3
I'm trying to deal with google-services.json and different flavors. The documentation says that we need the file in the root folder.
I got a task that can easily copy the file from the flavor fold...
Encomiastic asked 18/9, 2015 at 17:30
6
in my Android project I configured a dimension with 3 variants (example: mock, dev, prod).
I also have the default build types (debug, release) where I have their implementation of Application:
s...
Stonewort asked 29/7, 2019 at 9:9
3
I have 3 product flavors (flavor1, flavor2, flavor3) in my app. flavor1 and flavor2 share some of the dependencies related to ads.
Is there a way to bundle the ad related dependencies to a gradle...
Capitulation asked 8/8, 2017 at 23:6
35
Solved
Context:
I'm trying to set up Google Analytics for my app. (having 4 custom buildTypes and more than a few productFlavors)
It works fine when I select the Build Variant which has the applicationI...
Subordinate asked 25/1, 2016 at 10:37
1
I have a project with 2 modules: library and app.
The library module is of course a library and only has release and debug build types.
The app module has 4 flavors as well as the release and deb...
Orgulous asked 24/5, 2017 at 20:11
5
I have development and production flavor for Flutter app.
Issue is label and launcher are same for both development and production app so cannot see difference. (Actually cannot install both on d...
Lolitaloll asked 2/2, 2019 at 21:13
0
When I increased gradle version to gradle-7.3.3 from gradle-7.2, I receive a gradle sync error which is saying Multiple entries with same key: main=[] and main=[].
When I change my productFlavors n...
Neediness asked 27/6, 2022 at 16:13
2
Solved
I'm working on an Android application with Gradle as its build system.
My objective is to use a value (a package name) as an applicationId:
productFlavors {
orange {
applicationId "com.fruits.a...
Matta asked 26/10, 2015 at 13:24
6
I'm using the new gradle build system and I'm facing the following problem:
UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dex.DexException: Multiple dex files define Lcom/kibo/mobi/BuildConfig;
at ...
Dump asked 3/8, 2014 at 9:22
2
I'm trying to create a Flavor configuration to avoid boilerplate code in every Module and Library gradle file.
To do so I'm trying to convert Piotr Zawadzki solution (https://medium.com/stepstone-...
Rima asked 19/11, 2019 at 16:25
3
Solved
I need to install 2 versions of my project (Production and Development). I need 2 apps. I'm trying to achive it by using flavors, but when I sign the apk, it always generate the same app, with the ...
Hix asked 7/7, 2016 at 10:45
2
Solved
I am trying to use Flavors in my app. I followed various guides and it failed to build each time with the same problem. (Since essentially every blog post and SE question quotes the same articles a...
Raleigh asked 10/9, 2019 at 16:45
3
I want to build different versions of my app based on different productFlavors, but need some degree of flexibility that I can't achieve yet.
This is my folder structure:
+src
+main
+java
+re...
Wickedness asked 20/7, 2015 at 14:5
7
Solved
I have a multi-flavored, multi-build-typed android project and I want to integrate the NewRelic plugin. But I have to apply it only for one of the customers, thus only for one product flavor.
NewRe...
Cuirbouilli asked 13/7, 2015 at 9:31
7
Solved
I'm working on an Android library project, in the default src/main/AndroidManifest.xml, the MainActivity is the launcher activity.
For the sake of something else, I created product flavors. Yes, i...
Overblouse asked 31/8, 2015 at 21:57
1
How can I iterate over that test results of each different type of project and collect it in a single report?
Example project setup:
Root Project
|
|- Java Project
|- test task
|
|- Android ...
Teakettle asked 27/1, 2017 at 0:58
1
I have some questions about how to do this correctly - Documentation from the Flutter team on using Flavors is somewhat lacking and to this date the tutorials and articles all seem to be from peopl...
Stereotype asked 6/9, 2020 at 20:0
2
Solved
I am developing an Android application using Android Studio (v 2.1, gradle plugin v 2.1.0). My application has various versions which share a lot of common code so I decided to use flavor dimension...
Ciao asked 4/5, 2016 at 8:18
0
Is it possible to run one Sonar analysis for all flavors? I have a multi flavored Android project where I have different implementations of some files in different flavor folders. Those files have ...
Whitmore asked 28/5, 2020 at 6:23
2
Solved
There are two product flavor in my application i-e
flavorOne(src/flavorOne/java) and flavorTwo(src/flavorTwo/java). Main (src/main/java) is directory form where both flavor are using the classes. I...
Heathendom asked 2/12, 2015 at 7:18
12
I am customizing the name of the APK file of my Android application within the build.gradle script as follows:
android {
defaultConfig {
project.ext.set("archivesBaseName", "MyApplication");
}
...
Alamein asked 3/8, 2014 at 11:46
1 Next >
© 2022 - 2024 — McMap. All rights reserved.