Questions tagged [android-module]
The android-module tag has no usage guidance.
android-module
153
questions
0
votes
1
answer
39
views
How to customise downloading UI for on demand instant modules in android
Currently when requesting another instant module using url deep linking, like so:
val intent = Intent(Intent.ACTION_VIEW, uri)
intent.setPackage(applicationContext.packageName)
intent....
0
votes
1
answer
36
views
It is not possible to use resources from one module in another
I have two modules in my application: app and management. I need to use some features of the app module in the management module, however, when I try to access the following error appears for the file ...
-1
votes
1
answer
54
views
How to add module inside an Android module?
Having the following structure.
-root
app
module1
module2
libs
submodule
How to add module inside an Android module? This means that the module2 should still detect the submodule even without ...
2
votes
2
answers
94
views
Correctly configure a release build - once per project or in all modules?
I've created my first Android project with two modules (:app and :additionalModule).
Now I want to create a release build with isMinifyEnabled = true and all these things. Do I have to configure that ...
0
votes
0
answers
23
views
Dynamic Feature contain entry MainDispatcherFactory with different content
I have an Android application with dynamic feature, I am trying to build a release version to test the app on Google Play Console:
I get this error while building:
Execution failed for task ':app:...
0
votes
0
answers
13
views
Is it possible to import only selected modules from a library project into an app project?
My app consists of two Android Studio Gradle projects. One is the actual app and the other is a library project that gets imported into the app project. The library project consists of multiple ...
0
votes
1
answer
782
views
Create a new configuration and set its BuildTypeAttr for a module in Android gradle
Following this stack overflow answer Error building Android library: Direct local .aar file dependencies are not supported to solve my original problem, on my module i created a build.gradle file with ...
0
votes
1
answer
109
views
Creating a Dynamic Delivery Module in Android with Conditional Inclusion at Install Time
I am working on an Android project where I need to create a dynamic delivery module. However, during the module creation, I am presented with the following options:
Do not include module at install-...
0
votes
0
answers
27
views
Passing data from React ViewGroupManager to Fragment
I have a view manager extending ViewGroupManager that when receives a command, it creates a fragment. Would be dangerous and lead to memory leaks to store a reference of the created fragment to pass ...
0
votes
0
answers
126
views
Create android library through maven publish which is having a dependency on AAR file
I am publishing my custom library to maven local and using it in my project. However recently my library is dependant on a AAR dependency and I am unable to bundle it with my custom library.
I have ...
0
votes
0
answers
97
views
How to Include Complete Flutter Modules in Android AAR Artifact Library?
I am working on creating an Android SDK module that includes a Flutter module. I have followed the instructions provided in the official Flutter documentation here to integrate the Flutter module into ...
3
votes
2
answers
765
views
How to setup HILT DI in layer base multi-module android application
I am creating an Android Application based on Clean Archtecture with App Modularization.
I have modularized the app by 4 layers (:presentation, :domain:, :data, commons).
The required hierarchy is as ...
3
votes
0
answers
145
views
Run Espresso/Cucumber UI testing for modular project in Android
I wrote a UI test scenario by Cucumber and Espresso for a modular Android project.
This project has a module that depends on the Base module.
When I run the test I got an error in the xml layout, ...
0
votes
1
answer
583
views
How to refactor an android library module to kotlin module in Android Studio?
I have removed the android library dependencies to some of the modules in my app and would like to convert these modules to pure 'java or kotlin' modules.
What is the best way to do this in Android ...
0
votes
1
answer
144
views
what is the dependency graph tool used by the "Now in Android" sample app from google?
The now in android sample app can be found here.
Within the docs folder it has some really nice dependency graphs for the modules.
How did they create these dependency images? Does anybody know how I ...