Questions tagged [dynamic-feature-module]
155 questions
2
votes
0 answers
Android dynamic features navigation DynamicIncludeGraphNavigator ConcurrentModificationException
I have problem with Android dynamic features navigation. When I came back to the app after long inactivity (or with don't keep activities option enabled) my app crashes.
Crash comes from DynamicIncludeGraphNavigator.onRestoreState() method and is…

Paweł Dedio
- 1,338
- 12
- 20
2
votes
0 answers
Modules 'base' and 'player' contain entry 'res/layout/exo_playback_control_view.xml' with different content
I work on an app with multiple Dynamic Modules.
In order to add the video download's feature to my app, I need to add the ExoPlayer UI dependency (com.google.android.exoplayer:exoplayer-ui:2.11.1) to my base module.
Since I already have this…

Florang
- 218
- 2
- 11
2
votes
0 answers
Getting error INSUFFICIENT_STORAGE = -10, while installing dynamic feature module for Specific device named Redmi K20 PRO
I have implemented a dynamic feature module. Base module gets installed successfully but when I request for the dynamic module, it gets downloaded but throws error while installing saying INSUFFICIENT_STORAGE = -10 from PlayCore library even though…

AKASH WANGALWAR
- 1,326
- 1
- 14
- 21
2
votes
3 answers
Third party library of dynamic feature module cannot access resources
I have a application which has a dynamic feature module. In dynamic feature module, there is a form with images, input fields and also it has a buttton which access another third-party library.
Third-party library has a activity and fragment. While…

captaindroid
- 2,868
- 6
- 31
- 45
2
votes
1 answer
Raw Resource residing in an Android Dynamic 'on-demand' Feature Module can't be referenced as a URI
I’m having trouble referencing resources in a dynamic module as a URI.
Something like this:
android.resource://com.redback.dynamic_module/raw/cool_video
doesn’t seem to be valid.
I’m able to load the dynamic feature module and instantiate a class…

shredder
- 1,438
- 13
- 12
2
votes
3 answers
Android feature module dependency on another module not finding resources
I have my base module(Base), a dynamic feature module(A) and a common module(Common) that is not a a dynamic feature, its a library.
When I add Common as a dependency of A, I'm able to use classes from it but my build fails because it can't find…

Hoda M
- 65
- 6
2
votes
1 answer
Load assets into WebView from Android Dynamic Feature Module
This question is about loading HTML content from the assets folder into a WebView component inside of an Android Dynamic Feature Module when the app is loaded from Google Play. How can you do that? Right now I am getting a 'file not found' error…

gil.fernandes
- 12,978
- 5
- 63
- 76
1
vote
0 answers
Getting Error invalid package ID 0x7e. Must be in the range 0x7f-0xff.. while generating bundle
I have implemented one dynamic feature module(It is instant-install conditional based download module) in our application in which dynamic feature module required to set the MIN_SDK version is 28 but our base module is compiled with MIN_SDK version…

shubham agarwal
- 65
- 1
- 6
1
vote
1 answer
Duplicate entries in dynamic feature module when using Gradle build convention plugin
We've an Android project with many modules, including dynamic feature modules. The build script boilerplate is currently handled by using script plugins (Gradle files that are applied by using apply from: 'something.gradle').
I am trying to migrate…

fikr4n
- 3,250
- 1
- 25
- 46
1
vote
0 answers
NoSuchMethodError: Latest library version declared in Install-time feature module not used while building AAB
Steps to reproduce the problem (including sample code if appropriate):
Import an old dependency in app(base) module.
Import new version of the same dependency in the install-time feature module (with possibly new classes added)
Build AAB
Upon…

Harsh Mahajan
- 21
- 1
- 7
1
vote
0 answers
Application crashes in dynamic module
So i'm trying to implement dynamic module. I just have one fragment in the dynamic module i.e upon clicking on that fragment, it downloads the module and installs and then it is showed to the user. So far the application is downloading and…

Aagam Shah
- 125
- 3
- 11
1
vote
1 answer
The base module should not have the 'split' attribute set in the AndroidManifest.xml
I want to generate bundle for my project which includes three dynamic features , and this error occured while generating bundle.
also there is no 'split' attribute in my whole porject manifest anywhere , and the project is run on debug mode,…

HAMED
- 353
- 4
- 13
1
vote
1 answer
Dynamic Feature Crashing Resource not found on Application Relaunch
My app works fine after downloading Dynamic Feature onDemand Module but as soon as I restart my app the app crashes with Exception.
Heres the code that I copied from google dynamic features [sample repo][1]
private fun onSuccessfulLoad(moduleName:…

code star
- 21
- 3
1
vote
0 answers
SplitInstallManager.startConfirmationDialogForResult calls deprecated onActivityResult (Dynamic feature modules)
I'm using Dynamic feature modules in my app.
onActivityResult is deprecated. However, SplitInstallManager.startConfirmationDialogForResult uses the onActivityResult callback. Is there a way around…

VIN
- 6,385
- 7
- 38
- 77
1
vote
0 answers
Android resource not found exception for dynamic feature
Hi I have created one Android application and created one dynamic feature in it. In this dynamic feature in one of the fragments, I am trying to set a custom font for text view.
ResourcesCompat.getFont(requireContext(),…

nilkash
- 7,408
- 32
- 99
- 176