Questions tagged [android-module]
146 questions
1
vote
1 answer
How to add a module dependency while building an AAR
I created one library project with two modules. I added the 2nd module in the dependencies of the first module like this:
implementation project(":module2")
I am able to generate the AAR file after this. But I'm…

PPB
- 151
- 1
- 14
1
vote
1 answer
Android Library - When I import libraries containing each other, is the same library added to the project more than once?
I have :a, :b and :c libraries in an android project and I am submitting them separately to GitLab as maven repos.
The :a library imports the :b library.
implementation(":b")
The :b library imports the :c library.
implementation(":c")
In my :app…

enjektor0
- 483
- 2
- 8
1
vote
1 answer
How to access a module into another module of Android
I'm having few different variants and for each variant I'm having different module into my project but now I got a new requirement where I'll have to use an existing module in a new build variant. It means if any changes happen in code of variant1…

Anshul Tyagi
- 2,076
- 4
- 34
- 65
1
vote
0 answers
Could not resolve all task dependencies for configuration
./gradlew clean assembleDebug
Could not determine the dependencies of task ':demoApp:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':demoApp:debugCompileClasspath'.
> Could not resolve project…

Francis Bacon
- 4,080
- 1
- 37
- 48
1
vote
0 answers
Work with Hilt with submodules of a feature module
Is there any way to make dagger hilt work with clean architecture that uses the presentation-domain-data as submodules?
For example I have Feature A as a module. This module has 3 submodules:
Presentation module
Domain module
Data module
How could…

Barrufet
- 495
- 1
- 11
- 33
1
vote
1 answer
Can two Android themes include common values without inheriting from one another?
I'm trying to keep my application clean by breaking functionality into multiple modules.
:App
:Features:Foo
:Features:Bar
:Ux
I've defined my application's theme in themes.xml in the :Ux module, and then it's used throughout the application.