PaulT wrote:
> I wonder if the R.java generator is becoming confused
> when a file is missing from one of those directories?

I doubt it -- that's part of the resource set system.

With respect to R.java, I run into problems frequently when developing
with Ant (not Eclipse) where R.java gets mis-generated or something when
I add a new resource. It is as if R.java is generated with different
numbers for previous resources, yet something (other compiled Java
classes?) still remember the old values, so I get random resource
substitution, resulting in screwed up images, ClassCastExceptions, and
the like.

I have been adding an "ant clean" target to my build.xml files that
blows away the contents of gen/ and bin/, so I can readily clean and
rebuild.

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

Android App Developer Training: http://commonsware.com/training.html

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