dynamic-feature-module Questions
4
App has ML Kit functionality (translation). I'm trying to reduce the app size by introducing a dynamic module feature, on demand loading.
Following this guide
Added 'com.google.mlkit:playstore-dyna...
Indiscipline asked 27/6, 2021 at 17:4
2
I have a dynamic feature module that depends on com.google.http-client:google-http-client-gson:1.40.1 which depends on com.google.guava:guava:30.1.1-android.
My base module uses several Androidx li...
Dodie asked 29/1, 2022 at 15:46
1
I've got a multi module project where the app module contains my binding adapters and my feature module depends on my app module since it is a dynamic feature module.
App (contains binding adapter...
Catto asked 6/6, 2020 at 23:0
1
Has anyone figured out how to test fragments in Dynamic feature modules in isolation using fragmentScenario Espresso tests where the app's Activity is in a base module.
I have overcome several iss...
Nebula asked 12/11, 2019 at 22:42
1
I am trying to update my MinSdkVersion from 25 to 26, but I receive NullPointerExceptions when accessing properties of the generated binding classes.
The following snippet shows which line of code ...
Raze asked 5/5, 2021 at 11:55
3
I am trying to create an on-demand feature module using the androidx.camera package. I am getting a crash when the activity inflates the layout which includes the PreviewView. Note, the module load...
Tambour asked 6/10, 2020 at 18:34
1
Is there a way to create a universal APK for instrumented tests? I wanted to run the whole test suite on Firebase Test Lab but it seems tedious to upload one APK for each dynamic feature module's t...
Busyness asked 30/7, 2020 at 8:15
1
So happenned that I have a main app module
build.gradle
dynamicFeatures = [":myFeature"]
viewBinding {
enabled = true
}
AdroidManifest.xml
package="com.mydomain.testproject"
With some ...
Jacquetta asked 4/3, 2020 at 12:36
0
featureModule = apply plugin: 'com.android.dynamic-feature'
libraryModule = apply plugin: 'com.android.library'
Problem - Using any library resources in feature module requires full package name q...
Blumenfeld asked 31/7, 2020 at 23:0
0
I have extension function in app module
@BindingAdapter("imageSrc")
fun setImageUrl(view: ImageView, userId: Int) {
try {
val drawableRes = when {
userId % 6 == 0 -> {
R.drawable...
Heller asked 30/7, 2020 at 15:32
1
Complete error
java.lang.NoSuchMethodError: No static method asAttributeSet(Lt/g/a/a;)Landroid/util/AttributeSet; in class Landroid/util/Xml; or its super classes (declaration of 'android.util.X...
Sculpin asked 10/1, 2020 at 11:28
1
I am trying to use internal app sharing to test that I can correctly request and download an on-demand dynamic feature module.
When I try this I can see that it first starts to download new featur...
Intercommunicate asked 27/11, 2019 at 19:4
1
I have problem with usage of DataBinding in my Dynamic Feature module.
I can't generate binding object related for my fragment when isMinifyEnabled = true
Generally I try to do it using this code...
Schatz asked 4/12, 2019 at 11:37
1
© 2022 - 2024 — McMap. All rights reserved.