Skip to main content

All Questions

Tagged with
0 votes
0 answers
14 views

How to create a parent project containing two independent projects in Android Studio [duplicate]

I have two separate Android projects: a camera project and an image editing project. I want to create a new parent project that includes both of these projects and allows them to start independently. ...
Dark White's user avatar
0 votes
1 answer
137 views

Is it possible to use Room Database in a Kotlin Library module?

I am working on an Android application with a lot of modules (based on features & layers) and wanted to convert my domain layers and data layers modules from Android modules to Kotlin/Java modules....
Damon's user avatar
  • 139
0 votes
0 answers
21 views

Circular dependency when publishing to jitpack

What happened? My project structure looks like this: |--build-logic |--core |--sub-core1 |--sub-core2 |--data |--sub-data1 |--sub-data2 I'm trying to publish both sub-core1 and sub-data1 only....
Firate's user avatar
  • 159
0 votes
0 answers
112 views

Spring + Kotlin + Gradle + Multi module - configuration

I have a project written in Kotlin with Spring and Gradle. https://github.com/skoczman/oremus/tree/main I have two problems: Gradle configuration - Gradle is building successful now, but I'm not sure,...
Maciej Skoczek's user avatar
5 votes
3 answers
3k views

Create another module in Compose Multiplatform Project

I'm currently building a project with Compose Multiplatform, and I'm wondering to make this project structured with multi-module clean architecture. Here's my current modules: I'm looking for adding :...
Raka M.A's user avatar
  • 255
0 votes
1 answer
288 views

Micronaut multi module project - Error instantiating bean of type [XXX]

I am creating my first micronaut gradle multimode application Project structure Root project 'finance' +--- Project ':application' \--- Project ':main' root build.gradle.kts plugins { id("...
juan pedro molina's user avatar
0 votes
2 answers
844 views

How to communicate between modules using Kotlin in Android

I have a scenario of navigating between Module(s). Say I have two modules, A and B. In Module A's Gradle file I have imported the Module B. Now I want to call a function in Module A from Module B. How ...
arun's user avatar
  • 205
0 votes
1 answer
1k views

"Circular dependency between the following tasks" MultiModule Error

i am refactoring my project MVP pattern to MVVM pattern and i create a new java module for this. For example i have views like SplashActivity, LoginActivity and MainActivity. I changed LoginActivity ...
ozanurkan's user avatar
  • 419
1 vote
0 answers
31 views

How can I retrieve theme colors from another module and apply them to drawables?

I cannot retrieve colors from my theme for my shape drawable. When I use ?attr/colorPrimary, no color is being applied, neither ?colorPrimary or ?android:colorPrimary works. My drawable is in Common:...
Rafael Vidal's user avatar
-2 votes
1 answer
691 views

Hilt Multi-module Cannot create an instance of class ViewModel

I'm trying out a new architecture with multi-module and DI though Hilt, I have the following modules: app: Contains MainActivity (which does nothing except holding fragment) featureHome: Contains ...
Biscuit's user avatar
  • 5,207
0 votes
2 answers
909 views

Can not build the multi-module android app

I try to make multi module app and get Type com.example.boombadproject.BuildConfig is defined multiple time when I try to run the app , The problem is disappear when I comment the implementation of ...
Ame Gung's user avatar
0 votes
1 answer
1k views

Multi-module Gradle project - selectively managing dependencies in child modules

Lets say I have a multi-module Gradle Kotlin project. The structure is as follows: main - app runner + gluing everything together modules users users-adapters users-domain orders orders-adapters ...
Maciej Tułaza's user avatar
1 vote
0 answers
223 views

Android Multimodule design - Best way to concentrate info in one file without requiring it to be a dependency

I have a project with dozens of modules for each app feature. Additionally, the project requires feature flags to enable/disable features in the app. In a similar fashion, each module requires some ...
htafoya's user avatar
  • 19.2k
2 votes
0 answers
2k views

Gradle setup for Kotlin multi-module project structure

I have a gradle project setup which looks similar to the one graphed below and I have some trouble setting up the dependencies between the different modules ┌Top Kotlin Project │ ├── Project1 │ ...
FChris's user avatar
  • 338
0 votes
1 answer
195 views

Multi Module App doesn't reflect changes from base Activity

I'm building a sample multi module app where I have 1 library common, which has a MainActivity and a simple TextView. The TextView has no text defined in the xml and the MainActivity has binding....
Alex Petev's user avatar

15 30 50 per page