Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
41 views

I'm trying to import Android Jetpack Glance to create widgets. To avoid importing the wrong Compose functions, I think it's good practice to create two separate modules. GlanceWidget module ...
Yiwei's user avatar
  • 1
1 vote
0 answers
45 views

I am getting this error for my multimodule android app when I run gradle clean build FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':app:...
Alka's user avatar
  • 11
4 votes
1 answer
1k views

I wish to have an interface which has a composable function Show like this in Android project feature module A. interface AInterface { @Composable fun Show(modifier: Modifier = Modifier) } ...
mooongcle's user avatar
  • 4,227
0 votes
1 answer
82 views

Currently when requesting another instant module using url deep linking, like so: val intent = Intent(Intent.ACTION_VIEW, uri) intent.setPackage(applicationContext.packageName) intent....
ajandroid's user avatar
0 votes
1 answer
69 views

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 ...
Talita Ramos's user avatar
0 votes
1 answer
402 views

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 ...
Bitwise DEVS's user avatar
  • 3,851
2 votes
2 answers
243 views

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 ...
me.at.coding's user avatar
  • 18.5k
2 votes
2 answers
4k views

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 ...
AndrewBloom's user avatar
  • 2,566
0 votes
1 answer
201 views

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-...
Tehleel Mir's user avatar
1 vote
0 answers
228 views

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 ...
abhishek maharajpet's user avatar
0 votes
0 answers
138 views

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 ...
Raja Peela's user avatar
  • 1,396
3 votes
2 answers
1k views

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 ...
NS.'s user avatar
  • 128
3 votes
0 answers
219 views

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, ...
MeNoVa's user avatar
  • 99
0 votes
1 answer
888 views

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 ...
mars8's user avatar
  • 1,346
0 votes
1 answer
199 views

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 ...
mars8's user avatar
  • 1,346
0 votes
0 answers
110 views

My project includes two modules, one main module with all the XML, Kotlin files, and images, and another with all the video files. I had to do this because my app has like 20 videos and it exceeds ...
RagingGoat's user avatar
0 votes
1 answer
31 views

I am importing new module which have another module inside it also, into another project but the finish button not working? Do anyone has solution for that?
Rakesh Saini's user avatar
2 votes
1 answer
781 views

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 ...
PPB's user avatar
  • 171
0 votes
1 answer
940 views

I've been tring to use an Android Library Module but my React Native project fails building whenever I add it as a dependancy : build.gradle dependencies { . . . implementation project(path: ':...
Program-Me-Rev's user avatar
15 votes
5 answers
23k views

I'm creating an Android Library for basic dialogs. Right now, all I have is a basic-dialogs module along with the app module. I'm calling a composable in the basic-dialogs module from the Activity in ...
Raj Narayanan's user avatar
1 vote
1 answer
636 views

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 ...
enjektor0's user avatar
  • 543
3 votes
1 answer
567 views

I have two modules in my Android project, one is the default one 'app' and another is a 'sample' module, both modules have their separate manifest files. I wish to define a broadcast receiver and it's ...
Akoder's user avatar
  • 149
1 vote
1 answer
2k views

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 ...
Anshul Tyagi's user avatar
  • 2,218
2 votes
0 answers
84 views

I have been using on demand dynamic modules in by app for a few years now, and in the past this issue did not happen. I noticed this recently as I wanted to work on my dynamic module that the layout ...
user14678216's user avatar
  • 3,480
2 votes
1 answer
4k views

I have a multi module app where I recently began implementing Jetpack Compose. I defined some composables to be shared by different modules. I put those in another library module and imported in ...
Serge's user avatar
  • 517
1 vote
0 answers
519 views

I'm trying to add DeepLinkDispatch library (by airbnb) in my project in order to handle deeplinks. The project has different modules and some links needs to be handled by Activity's in this modules. ...
pauminku's user avatar
  • 3,586
0 votes
0 answers
277 views

I have project with two modules: app and design_utils. Inside my app module I use DialogFragment. I need to set style for my DialogFragment views from design_utils module. In turn, the design_utils ...
testivanivan's user avatar
  • 1,544
3 votes
0 answers
1k views

I want to ask your advice how to solve circular dependency in android multimodule project? What I would like to receive as an answer: ideally clear answer or advice how to solve the issue I have faced,...
yozhik's user avatar
  • 5,114
1 vote
0 answers
452 views

./gradlew clean assembleDebug Could not determine the dependencies of task ':demoApp:compileDebugJavaWithJavac'. > Could not resolve all task dependencies for configuration ':demoApp:...
Francis Bacon's user avatar
0 votes
0 answers
807 views

I have module in Android app. This module uses the Airship library. I have imported this module in my project and used it. Scenario: If both my app and module gradle has the Airship library, ...
abhishek maharajpet's user avatar
0 votes
1 answer
130 views

I want to create an Android library module which contains main and debug packages only in the Java root. Whenever I create a new Android library module, I get the usual in the Java root which are main,...
joe voidable's user avatar
0 votes
1 answer
609 views

When writing a module there is a developer-mode option switch that I want to get from the developer by the project's gradle file. So I am geting it by manifestPlaceholders in the project's gradle: ...
Mahan's user avatar
  • 11
1 vote
0 answers
312 views

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: ...
Barrufet's user avatar
  • 292
1 vote
1 answer
259 views

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 ...
Northlander554's user avatar
1 vote
0 answers
50 views

I am new to android programming and when I try to add this module https://github.com/FreesoulApps/PreviewAndroid I get unable to resolve dependency on line 78 on my build.gradle file: RELEVANT ...
mhassan's user avatar
  • 73
15 votes
2 answers
4k views

I have a multi modular android app setup which consists of a Data, Domain and Presentation module. The Domain module is java-only. I know it's possible to support hilt in non-android modules by adding:...
Tim's user avatar
  • 717
1 vote
1 answer
142 views

I can get an aar output by combining multiple modules using Fat AAR. But there are modules in this combined-module that should not be accessed by the application. I am using this library for fat aar ...
Sina's user avatar
  • 21
0 votes
1 answer
176 views

So I just created a new module and everything on the module is red. I'm not sure what's happening? The error message is shown above
Brian Mohammed Catraguna's user avatar
0 votes
1 answer
1k views

We have created a demand dynamic module, this module just have the functionality of printing the data through a thermal printer, it doesn't have any activity. We need to access the classes and ...
alka aswal's user avatar
1 vote
0 answers
953 views

I am trying to build hybris boot using some tried and true forked lineage os 17.1 source for nexus 10. Originally I got this error: error: packages/services/Telecomm/Android.bp:28:1: "...
Damn Daniels's user avatar
13 votes
7 answers
38k views

I have a extension method: fun StoresClientFragment?.onClickButtonBack(){ this?.listener?.onStoresFragmentClickBtnMenu() } The app installs without any errors; but when the method is invoked at ...
Jhelsin Mijael Quispe Garcia's user avatar
2 votes
1 answer
1k views

I use dynamic feature module in my app and here is my App class - @HiltAndroidApp class DogApp : SplitCompatApplication() { override fun attachBaseContext(base: Context?) { super....
Ma2340's user avatar
  • 747
2 votes
2 answers
4k views

Connecting module application and get following error: Circular dependency between the following tasks: :app:processDebugResources \--- :app:processDebugResources (*) Module structure /app |--base |--...
white-imp's user avatar
  • 323
1 vote
1 answer
2k views

How do I transfer data between modules? B module implements A module. So module B can access module A. But module A cannot access to module B. How can I send data from the some activity in module A to ...
Murat Çakır's user avatar
0 votes
1 answer
199 views

I am running assemble for my library module , I see from logs that it should generate two files myLib-release.aar and myLib-debug.aar inside the myLib/build/outputs/ folder. However, I always only ...
htafoya's user avatar
  • 19.4k
0 votes
1 answer
306 views

Trying to understand the following example and do something similar. In my application there is a module, in which I want to use Dagger. To do this I need an Application class in which I initialize ...
Morozov's user avatar
  • 5,290
1 vote
1 answer
879 views

I have an android base project where I have some reusable module so that I can use them in any projects, I have 4 module dependency such as - moduleOne moduleTwo moduleThree moduleFour Where I have ...
Bajrang Hudda's user avatar
0 votes
0 answers
114 views

I have a TimerTask in a library module I use, I have access to the source code and it worked independantly, however when I call the method startPoll()from the main application i get the following ...
HTBuild's user avatar
  • 63
3 votes
1 answer
2k views

I've got a multi-module Android project which have one module called app which is the Android application, that contains features where each feature is separate module. I would like to extract one of ...
user3448282's user avatar
  • 2,699
0 votes
1 answer
183 views

val intent = Intent(Intent.ACTION_MAIN) .addCategory(Intent.CATEGORY_HOME) .setClassName( "com.example.AnotherPhoneTabletModule","com.example.AnotherPhoneTabletModule.MainActivity") ...
Cihat Bostanci's user avatar