It sounds like your library is not being packaged into your apk.
Read the section on setting up a library as well as using the library in another project.
http://developer.android.com/tools/projects/projects-eclipse.html#SettingUpLibraryProject
Short story is the library needs to have the "Is Library" option enabled in its Android tab of the project properties. The consuming project needs to have that library added to the list of libraries on its project properties android tab.
Just getting started with Android Studio, myself, so I'm not sure what to do there. When I really have a question on whether something is in the APK here's what I do:
- Generate the APK. I know Eclipse puts this in the bin/ directory, not sure where AS puts it.
- extract it using unzip (7zip or unzip on Linux does this fine, some unzip programs require you rename the .apk to .zip)
- If your library contains non-java files, you'll see them in the APK.
If the library is only java code, you'll need to pull the dex file apart with dex2jar. http://code.google.com/p/dex2jar/downloads/list
[nedwidek@yule bin]$ d2j-dex2jar.sh classes.dex
dex2jar classes.dex -> classes-dex2jar.jar
[nedwidek@yule bin]$ unzip -l classes-dex2jar.jar
Doing this shows that my APK for this particular project does indeed contain all of the class files for ActionBarSherlock.