Questions tagged [android-module]

146 questions
0
votes
0 answers

Koin setup in Android Multi module project, with some modules not having any android component

My question is somewhat similar to Using Koin in multi-module Android Project I am trying to setup a MVVM project with Koin. I have created 4 modules. M1(with all UI View-models), M2(All use cases), M3(Pure logic not corrupted by Android classes)…
D-D
  • 954
  • 2
  • 12
  • 27
0
votes
1 answer

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 Studio?
mars8
  • 770
  • 1
  • 11
  • 25
0
votes
1 answer

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 can replicate for my project?
mars8
  • 770
  • 1
  • 11
  • 25
0
votes
0 answers

How to instrumentation test multi module fragments in a single activity Android app that requires activity application

I implemented a single activity multi module app. The fragment in the module uses the activity?.application as BaseApplication to get the dao for the fragment view model. Now, writing the espresso test,…
0
votes
0 answers

Manage modular features on Android application

I have an application with some dynamic features and I would like to know if is's possible to ONLY update the features and not the base application on the Play Store. Indeed, I don't want to have to upgrade the version code every time. Example : I…
0
votes
0 answers

What is sdk_version: "module_Tiramisu"

What does "module_Tiramisu" mean when it is sdk_verison. I see it in Android T source code. I tried to search it with Google but didn't find any hint.
0
votes
0 answers

How to Find Video File in Another Module - Android Studio

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 that 150 MB cap that is put on the app bundles.…
0
votes
1 answer

How to import modules in android studio?

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
  • 660
  • 2
  • 7
  • 20
0
votes
1 answer

How to call a Link a Native Android Module Library in React Native

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: ':TestLibrary') . . . . } The Native Class…
0
votes
0 answers

DeepLinkDispatch with different modules (libraries)

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. As I have different flavors I would like to define…
0
votes
0 answers

Android. Style for DialogFragment not working

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 module contains the file themes with all the styles…
0
votes
0 answers

App crashes due to module library dependency

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, everything works fine. But, I think adding the same…
0
votes
1 answer

android manifest optional meta-data

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: manifestPlaceholders = [DeveloperMode :…
Mahan
  • 11
  • 3
0
votes
1 answer

Why do I get an error when creating a new module in Android Studio?

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
0
votes
1 answer

Can we access classes/functions of On demand dynamic Module in our base app code?

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 functions of this on demand module in our base code. Is…
alka aswal
  • 511
  • 1
  • 7
  • 22