I want to create a library to be included with other application projects, but there I am running into a problem with resource management. It seems like whenever an application is packaged with the Android SDK, a new R class is created with ONLY what is in the current application's res/ directory. So I have my res/ directory with all my resources for my library which are then put into the resulting .jar. However, when I include this .jar in another Android application project, the resources in the final .apk do not include anything from my library resources; that .apk package only contains the resources in the actual Android application project, ignoring everything in the libs/*.jar files. Furthermore, the indices generated in the resulting R class for the application (not my library) start at the same index. This means that when I reference something such as R.string.<something>, I will actually end up referencing the application package's resources instead of my own library resources.
Is there any way for me to have localizable resources in my library project, without having to touch the application project's resources? ANY information would be greatly appreciated!!!