Re: [android-developers] Build broken after latest updates.

2011-03-05 Thread TreKing
On Sat, Mar 5, 2011 at 6:50 PM, Nathan  wrote:

> Now all my builds in Eclipse are broken. They have hundreds of
> errors saying that R cannot be resolved
>
> I've already tried Project Clean, which is the only trick I know for weird
> build errors.
>
> The projects include a library project and two projects which depend on it.
>
> What magic do I have to do to make these things build again?
>

Yeah, I'm noticing that if you do a clean on everything, it wipes the gen
folder completely and gets lost from Eclipse. What I do is clean everything
then refresh the "Root" library project (the one all others require to
build). That forces Eclipse to pick up the gen folder again, triggers
another build, and now all R references should resolve.

Fun.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

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

Re: [android-developers] Build broken after latest updates.

2011-03-05 Thread Mark Murphy
On Sat, Mar 5, 2011 at 7:50 PM, Nathan  wrote:
> I accepted updates today including the HoneyComb SDKs and version 10
> of the ADT plugin and DDMS.
>
> Now all my builds in Eclipse are broken. They have hundreds of errors
> saying that R cannot be resolved
>
> I've already tried Project Clean, which is the only trick I know for
> weird build errors.
>
> The projects include a library project and two projects which depend
> on it.
>
> What magic do I have to do to make these things build again?

Fix the problems that are showing up in your Eclipse console.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 3.1 Available!

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


[android-developers] Build broken after latest updates.

2011-03-05 Thread Nathan
I accepted updates today including the HoneyComb SDKs and version 10
of the ADT plugin and DDMS.

Now all my builds in Eclipse are broken. They have hundreds of errors
saying that R cannot be resolved

I've already tried Project Clean, which is the only trick I know for
weird build errors.

The projects include a library project and two projects which depend
on it.

What magic do I have to do to make these things build again?

It would sure be disappointing to not make any more updates to my app
ever again.

Nathan

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