Hi all,

at compilation all is OK: my project is compiling correctly and it
installed correctly too.

In my programme I've something like that
Toast.makeText(this, this.getResources().getString(R.string.value),
Toast.LENGTH_SHORT).show();

And my app crash with following error
06-08 16:39:58.521: ERROR/AndroidRuntime(873):
android.content.res.Resources$NotFoundException: String resource ID
#0x7f04000d
06-08 16:39:58.521: ERROR/AndroidRuntime(873):     at
android.content.res.Resources.getText(Resources.java:155)
06-08 16:39:58.521: ERROR/AndroidRuntime(873):     at
android.content.res.Resources.getString(Resources.java:208)

My R.java file contains this key
public static final int value=0x7f04000d;

So why the resource isn't found at execution?

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