This solution was helpful for me
EDIT: A .aar file is simply a zip file with the following contents:
- AndroidManifest.xml (Required file)
- classes.jar (required file)
- Res / (compulsory folder)
- R.txt (Required file)
- Assets / (Optional folder)
- libs/*.jar (folder option)
- jni//*.so (optional folder)
- proguard.txt (optional file)
- lint.jar (optional file)
You see, within the .aar file you have everything you need to operate the library in eclipse.
to create library:
- CREATE a new project (hereafter library project ) to your workspace. Do not forget to mark it as a library.
- Leave empty src folder library project .
- .aar Decompresses the file. You can rename it to .zip and unzip or
use any tools.
- Copy the file classes.jar into the libs file folder library project .
- Res folder replaces the library project with .aar res file folder.
- You've created the project that contains almost everything you need.
Now let's see how to configure your project to reference the library project.
- In the project you want to use the library (henceforth, project goal ) added as the dependency library project .
- Open AndroidManifest.xml .aar within the file and make sure to copy
everything it takes (permits, activities, services, receivers ...)
in the file AndroidManifest.xml project objective .
- If there is, copy the entire contents of the folder assets .aar file in the assets folder target project .
If there is, copy the entire contents of the file .aar libs folder
in folder libs target project .
Make a Clean the workspace and recompiled.
http://www.iphonedroid.com/blog/utilizar-ficheros-aar-en-eclipse/#.Vh3krye1Gko