What do you mean by multiple Android projects?

If you have code that access resources that you want to share across
applications, you should really use Library projects.
The library projects can have it's own R class, and the project that uses it
will create 2 R classes one for the main project package and one for the
library package.

More info at
http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject

On Tue, Feb 15, 2011 at 6:15 AM, Marko Štamcar <[email protected]>wrote:

> By default, ADT puts R.java in gen/[package name from manifest.xml]
> and we have to rename it each time to our actual package name, which
> differs from the one specified in the Manifest. We do this because we
> have multiple Android projects and use the same package names to
> simplify merging.
>
> Is there a way to set a custom package/folder name for ADT to put
> R.java in without changing the one in manifest.xml? If not, where in
> the ADT source should I change this for our team?
>
> Thanks,
>
> Marko
> Outfit7
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to