On Mon, Mar 26, 2012 at 12:08 PM, James Su <[email protected]> wrote:
> Hi all,
>   Yesterday I updated my development environment to Android SDK R17, and
> then it failed to build one of my library project (say A) which depends on
> another library project (say B), because B's R class cannot be found in A. I
> checked the code in A's gen/ and found that B's R class was no longer there,
> but it was there when using R16.
>   Does anybody know how to fix this issue?
>

Change each project to use it's own R file. It will include all resources from
projects it depends on. For example:

In project B:

import com.project.b.R;

In project A:

import com.project.a.R;

-- 
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