Creating a stand-alone Android library project using Android Studio (0.8.14)

I see that it is possible to create a module / android library project in a project, but I see no way to create a separate library project / module that can be used for different projects. In Eclipse, it was very simple. When I try to reuse an existing module within another project, AndroidStudio simply creates a copy of this module in a new project. What I do not want, I want to reuse my existing code. This link seems to have the answer I'm looking for, but not working for the latest build for Android Studio.

+7
android android-studio android-library
source share
1 answer

There are several ways I tried to do this: a quick and easy way to do this is to symbolize the directory of your library module in the directory of your project and add it to your .gradle settings. The best way to do this is to import the library module as a VCS project (local git works fine). He will still clone the library module into each project, but the changes made to the library will be consistent in all projects using it.

0
source share

All Articles