The current version (15.0.1) of the Android developer tools does not allow combining projects containing resources (for example, layouts, user attributes, etc.) as a simple .jar .
According to the documentation on the library documentation :
However, the library project differs from the standard Android application project in that you cannot compile it directly into your own .apk and run it on your Android device. Likewise, you cannot export a library project to a standalone JAR file, just like for a true library. Instead, you should compile the library indirectly by referencing the library in the dependent application and creating the application.
ADT is currently attaching .jar library projects in Eclipse for linking purposes to bypass previously configured purely project references. However, this has no resources associated with it.
The page page on the ADT Tools website does not mean that support for this will be in ADT 16 either (with ADT 16 preview 2). The current rumor is that it will break into version 17 of the tools, which still remain good. I can’t refer to this because it mostly hears - from Twitter and into the Android developer’s chat room.
You are currently using it as a library project.
Believe me, no one wants to link these projects as .jar more than me :)
source share