66 questions
Advice
0
votes
3
replies
51
views
Is it possible to switch productFlavors(stage, prod and qa) dynamically
I have a requirement to implement an option to switch in between the build variant dynamically, so tried to find the way but no luck.
it's like Only one build with for all variant with options to ...
0
votes
1
answer
191
views
How to replace ViewModel dependecy with debug variant in Dagger hilt and consume it in Jetpack compose
I have a an AuthViewModel which handles user authentication related states.
@HiltViewModel
open class AuthViewModel @Inject constructor(
private val repo: AuthRepository,
stateHandle: ...
0
votes
1
answer
79
views
Can we release 2 flavours of app with same package name but different minSdk in playstore?
Below is my code of app GRADLE file where I am overriding my default configurations by setting the flavor.
My app is already in play store, I have to integrate Health Connect library of google. As per ...
0
votes
1
answer
94
views
Error: The apk for your currently selected variant (Unknown output) is not signed. Please specify a signing configuration for this variant (release)
For some reason, I can only run my app in debug mode but not release mode. Noticeably, there's a signing configuration for debug but not release. What's the correct way to create one for release so ...
0
votes
1
answer
131
views
Kotlin on Android: App crashes in debug because it can't find the string resource
My app crashes in debug mode (not in release) when the device language is set to "English". A string resource can't be found, the error message is as follows:
android.content.res.Resources$...
1
vote
1
answer
410
views
Baseline Profile - variants effect in Android
In my current project, I just can build non-prod variants base on my company's policy and I currently want to apply Baseline profile for the Prod version. So I wonder that when I generate a baseline ...
4
votes
0
answers
262
views
Unable to launch application when application suffix id is used for build variants
We have use case where one code base is used to create multiple apps,so we have used flavours approach and in each flavour we have three different build variants.Each flavor has a particular package ...
0
votes
1
answer
105
views
Including build variants in android project fails to update production apk on previous version release
My Android App project did not have any build variants earlier and I used to sign the production apk with simply the keystore credentials created by me and installed directly without publishing on ...
2
votes
0
answers
29
views
Android studio - switch active build variant for multi module project [duplicate]
My project have more than 20 modules. Whenever I'm switching active build variant, it does change build variant just for part of existing modules, I have to change some modules active build variant ...
0
votes
1
answer
169
views
Can some one explain a few things for me on Flavors and build variants
Ok I am not sure if this has been asked before. But I am struggling with the core concepts of Build variants, flavors and the way they are structured.
I have a an app on Google play so I am gonna use ...
0
votes
1
answer
185
views
Dependent features configured but no package ID was set. Android two apps of one project.... Admin and User
error screen while building superadmin
Hello guys, I wanted to make an android app of admin separate from user app so I decided to make a module for it .SuperAdmin is an application module.I want to ...
0
votes
0
answers
194
views
How to add specific library implementations in the gradle based on the build flavors
I want to use some specific libraries that have some usage in the java classes and also in the Android Manifest.
But I want to use those libraries and their usage only for a specific product flavor ...
1
vote
1
answer
5k
views
managing google service json for multiple build variant with different application ID
In my project, there is 2 build type debug and release as usual and one flavour dimension with 3 different values flavour_1, flavour_2 and flavour_3, so earlier all build variant has the same ...
1
vote
1
answer
2k
views
Warning: "Safe call on a non-null receiver will have nullable type in future releases" due to nullable variable in buildvariants
I'm developing an android app using Kotlin.
I have two different build-variants - VariantA and VariantB - both containing a configuration-File:
// VariantA
object ConfigEnvironment {
val ...
2
votes
0
answers
918
views
Unable to change build variant in android studio
I have a list of build variants in my project and the default selected is the first one in the top of the list,
when I change to the variant i want it again defaults to the first one,
i tried sync ...