Adam, that makes some sense, I'll investigate it.

I took my app home from work and for some reason it did not crash when
I added that 3rd id (my home comp runs windows 7).  Then I took it
back to work (where we have xp) and it works fine with the extra id.
But then I added another custom dialog with 3 buttons and it crashed
again.

On Jul 28, 10:22 am, Adam Ratana <[email protected]> wrote:
> On Wednesday, July 27, 2011 9:11:08 AM UTC-4, DB12 wrote:
>
> > the app crashes when you try to load it, i don't even get to press the
> > button that opens my custom dialog
>
> > On Jul 22, 11:41 am, DB12 <[email protected]> wrote:
> > > Howdy, I searched for about 30 minutes to see if anyone had the same
> > > issue but couldn't find anything.
>
> > I've had this happen before, typically when refactoring resources and such.
>
>  Try to "Clean" your project and then rebuild it, what is happening here
> most likely is that R.java is not getting re-generated correctly so it is
> using the wrong identifier mapping for your button id.   Another example of
> this type of behavior is when you see the wrong images being loaded right
> after you do some renaming of image resources.

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