Questions tagged [android-module]

146 questions
0
votes
0 answers

Manifest merger failed with multiple errors, occur during merging two project in to single project

I need to merge to android project in to single project. For doing this I changed one project from application module to library module and import it as a module in second project and its imported successfully, but when i run the project they show…
Shailesh Kumar
  • 393
  • 5
  • 20
0
votes
2 answers

Created android module, trying to reference a layout but can't

I have created an android module and inside a Fragment defined in the module I am trying to inflate a R.layout.my_module_fragment: Unfortunately it's not working: val view = inflater.inflate(R.layout.my_module_fragment, container) It throws…
Tim Nuwin
  • 2,775
  • 2
  • 29
  • 63
0
votes
0 answers

Adding .so files as dependency in a library module

I'm trying to write a android library module (using Android Studio). According to new project structure conventions, I've added all the external dependencies of jar-files to libs directory and .so files in jniLibs directory and adding this library…
Ponduri
  • 13
  • 1
  • 7
0
votes
1 answer

Library module not working in my projects app module android

I have created a library module which contains some activity and transactions logic, which will further be used by different existing applications. The library module uses androidx but my existing projects dont uses the androidx. Also I dont want to…
Ram Mandal
  • 1,899
  • 1
  • 20
  • 35
0
votes
0 answers

Why I can't add aar file to our library project and distribute it without aar?

we are getting really frustrated both financially and also in our project level. The root problem is that we have build an android library project, which uses another aar as a dependency. The clients which integrate our library have to manually…
Viktor Vostrikov
  • 1,322
  • 3
  • 19
  • 36
0
votes
0 answers

WindowLeaked from library module

I'm moving pieces of my app into a library module for code sharing. From what I've read you can put anything and everything in a library, but I'm suddenly getting WindowLeaked errors any time I try to open a dialog from the library code. I didn't…
nasch
  • 5,330
  • 6
  • 31
  • 52
0
votes
1 answer

Is it possible to merge two (actively being developed) Android application modules into same Android studio project?

I have two working android application module A & B as same Android studio project. Each of them can be builded & run individually. But if I add module A as a 'module dependance' by specifying implementation project(':appA') // in build gradle…
Niroshan
  • 1,174
  • 1
  • 12
  • 30
0
votes
0 answers

imlement 3rd party libraries .jar files into android module

Hello guys i wanna implement retrofit libraries into my module like this : implementation files('libs/timber-3.1.0') implementation files('libs/retrofit-2.3.0') implementation files('libs/logging-interceptor-3.8.0') implementation…
Abdelstar Ahmed
  • 132
  • 1
  • 10
0
votes
1 answer

Use Firebase Cloud Messaging in library

I have multiple feature modules and want to move fcm from my app module to a library module. So I created a new module ("fcm") and tried to add the dependencies for firebase: dependencies { implementation fileTree(include: ["*.jar"], dir:…
0
votes
3 answers

Being to foolish to correctly implement a module library into my project

I recently started developing my really first Android Project using Android Studio 3.1.2. Therefore I implemented a module library into my app, by cloning it from github, imported it as module library and added a dependency via right-click on app >…
0
votes
0 answers

How do I import ok.io into android studio locally?

I have been trying to use ok.io, (version 1.14.1), locally in my project and it's been quite a struggle getting through the gradle requirements. My project requires that I include the source locally. I have managed to import the module but when…
angryITguy
  • 9,332
  • 8
  • 54
  • 82
0
votes
1 answer

How to access Android module application context

I have created an android module(module project) that helps to access HTTP calls (Http Module wrap volley). I want to make Volley.newRequestQueue(mContext); into a place that initialize once rather than creating every time (To avoid memory…
Chinthaka Devinda
  • 997
  • 5
  • 16
  • 36
0
votes
0 answers

How to import old libgdx games eclipse project into android studio?

I'm trying to import old LibGDX eclipse Android games to Android Studio. Some games are easily able to import all module (android , core) and run but some are not able to import, only one android module is being imported . I'm trying to import as a…
Awadhesh
  • 1
  • 3
0
votes
1 answer

Android SQlite table in a separate module

I am developing a new module in an existing android project. The existing project is already having a database with some tables. In the new module I need a new table called Audio. In future I may use this module in some other apps(which would be…
Prabhu M
  • 3,534
  • 8
  • 48
  • 87
0
votes
1 answer

Referencing an imported module from an App (Licensing LVL)

I followed the instructions how to setup licensing for an Android App and I am stuck in referencing the imported module. https://developer.android.com/google/play/licensing/setting-up.html#download-lvl See on my screen, that I have imported the…
mcfly soft
  • 11,289
  • 26
  • 98
  • 202
1 2 3
9
10