Has anyone figured/found out how Android libraries are intended to work in Android studio?
I have not been able to find any documentation on this yet (the documentat
For the sake of anyone hitting on this, here's what I'm doing to "solve" this issue. It's very far from an elegant solution, IMO, but it's the closest to a good solution that I've found for handling my problem (reusing Android libraries) in Android Studio with Git.
Basic idea is to use Git submodules. Each library has it's own Git repository.
git submodule add
to fetch the library.include ':myLibrary'
and sync the project.It's a far cry from the simple elegance of working with Android libraries in Eclipse, but it works after a fashion. Things to keep in mind:
The built-in VCS should be able to help here, but it's been pretty flaky for me, so I prefer to just do it myself from a terminal now.
Hope this helps.