If you want to do this outside of Eclipse (let's say you build a terminal using ant, i.e. in continuous integration, or if you just hate Eclipse.) Just put the library project in a neighboring directory. In your main project, edit project.propertiesto include :
android.library.reference.1=../LibraryFolderName
If you have several libraries to add, simply specify them accordingly, i.e.
android.library.reference.1=../LibraryFolderName
android.library.reference.2=../AnotherLibraryFolderName
source
share