Top "Android-library" questions

An Android library project is a development project that holds shared Android source code and resources.

Is it possible to get application's context in an Android Library Project?

I would like to get the context of application which has reference/hosted my library at run-time inside one class …

android android-context android-library
How to set name of AAR output from Gradle

I have a project with several modules in it one of which is a Android Library named (poorly) as sdk. …

android gradle android-library
Using the new "manifestmerger" property in Android

In the newest version of ADT (version 20 preview 3), they say that it's possible to make the libraries' manifest file become …

android android-manifest adt android-library
Debug native code in Android Library

My workspace layout is: . ├── ApplicationLibrary │   ├── AndroidManifest.xml │   ├── ... │   ├── jni │   ├── libs │   ├── ... │   └── src └── Application    ├── AndroidManifest.xml    ├── ant.properties    └── ... How can I debug the …

android debugging android-ndk android-library
Android Library Project using Android Studio

This question might have been answered somewhere but couldn't find the appropriate one. I want to know how can I …

android android-studio android-library
NoClassDefFoundError on external library project for Android

I use eclipse for Google Android development. I've created a library project ([x] Is Library in the Android-settings), which includes …

java android eclipse android-library
how to start an activity in another module explicitly

I created an aar and i added it to my project as an module. in this module i have a …

android android-intent android-library aar
Found 2 versions of android-support-v4.jar in the dependency list appcompat in android

When I add appcompat project as a library I get these errors: - found 2 versions of android-support-v4.jar in the …

android android-library android-appcompat
Proguard ignores config file of library

I'm facing a really weird problem for days now... I have a Gradle app with two modules, one main module …

android android-studio module proguard android-library
Replace (or "Override") String in Android Library Project

I've been trying to make an android library project, and while the build process works fine, I've been running into …

android android-layout eclipse-adt android-library