Hi Hugo
We have multiple android apps that need to use a set of shared classes
that refere to resources in R. As each app has a different package
name and R gets generated by the package name, the common classes end
up in conflict. Our thought is that if we can override the package
name for R, to a common package name, independent of the package name
in the AndoidManifest, and both apps refer to the same R, there will
not be a conflict.
For example
Package for App A - com.sample.app.a;
Package for App B - com.sample.app.b;
Package for common R used by both Apps - com.sample.shared.r
So when running aapt, if I could say
<customPackage>com.sample.shared.r<customPackage> it would help to
keep the R references consistent between the apps and the shared
classes.
Please let me know if you need more information.
Thank you for your quick response.
Sandeep
On Nov 29, 11:55 am, "Hugo Josefson (Jayway)" <
h...@josefson.org>
wrote: