Saturday, October 10, 2009

[android-developers] Re: Using drawable resources

Jerome,

If you look up ID #0x7f020000 in your R.java, what do you get?

I'm finding the same issue with one of my apps now that I have
upgraded to 1.6---it worked fine on 1.5---the error is:

Caused by: android.content.res.Resources$NotFoundException: File
res/drawable/t.png from drawable resource ID #0x7f020007

But my R.java says:

public static final class drawable {
...
public static final int menu_how_to_videos=0x7f020007;
...
public static final int t=0x7f02000e;
}

Somehow the mapping from IDs to files has become broken. Not sure how
this can happen, (I've deleted R.java and had it rebuilt with the same
mismatch). Could be a bug, but I did also change some images so
perhaps there is another problem. Will post if I can sort it out.

Paul.
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate