Does the Android library project also export external libraries?

I am developing a software level that I would like to use several times to create Android applications. Basically, I want the software level to be able to use other applications after installation (for example, the system library).

I was wondering what is the best solution for this when I discovered that Android has recently supported library projects (http://developer.android.com/guide/developing/projects/projects-eclipse.html#SettingUpLibraryProject).

So, I decided to create my program level as a library project, making the code that it contains is reused by other applications that I want to implement.

My program level depends on the set of external banks that are correctly located in the lib folder of the library project.

The problem is that when I create a new project that references the library project, I cannot see the classes defined in the external jars of the library project: i.e. it seems that they are not part of the class path.

So, if you reference the library project, can you reuse only the source code defined there? If there are several other libraries in my library project, should I import these libraries into others (I want to avoid this!)?

I am also interested to know if there are other ways to do this, but when searching, I did not find other ways to implement Android libraries / common code.

Thank.

+3
source share
2

, , ( , ). , .

+2

Android JAR , libs/. , Eclipse, , , - - ( , ).

+3

All Articles