Resource missing error, but its there.

by Brill Pappin » Sat, 22 Jan 2011 15:51:30 GMT


Sponsored Links
 For some reason, I'm getting this:

01-22 07:46:15.226: ERROR/AndroidRuntime(8345): Caused by: 
android.content.res.Resources$NotFoundException: String resource ID 
#0x7f090069

But the resource *is* there and the R class has the generated ID.

Anyone have any idea how i can resolve this?
(yes, I've tried a clean build)

- Brill Pappin

-- 



Re: Resource missing error, but its there.

by Dianne Hackborn » Sun, 23 Jan 2011 03:52:33 GMT


 Do you have a value defined for whatever config you are in?  If you don't
have a default value set, this can cause the lookup to fail.








-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 


Sponsored Links


Re: Resource missing error, but its there.

by Brill Pappin » Sun, 23 Jan 2011 06:16:52 GMT


 I delete this post a few minites after I posted it :)

Turns out I was mistakenly asking the system resources to get the local 
string resource... which of course wont work very well :)

One of those little lines of code you ignore that causes you to bang your 
head agains the keyboard... and as soon as you stop looking at it, its 
obvious :)

- Brill Pappin

-- 



Other Threads

1. Sending SMS on multiple emulator instances.

Hi,

I have written a code for sending SMS using SMSManager. But I am
finding it difficult to test on emulator. I have set the permission
for sending the sms in androidmanifest.xml file. I have only used
sendTextMessage method of SmsManager. In that method only phone number
and text to be send are provided rest of parameters are kept null.

Can someone provide me details for testing the code of sending SMS
through emulator. One more thing I use eclipse as IDE.

Thanks in advance
Sunil
--~--~---------~--~----~------------~-------~--~----~

2. Who maintains / supports Android core applications like MMS / Contacts / etc.?

Every app that's been open-sourced as part of the Android Open-Source
Project is maintained as part of Android.

You've reported your bug in the right place, and your bug report is
wonderfully detailed. Sadly, keeping up with all the incoming bugs has
proven to be a challenge.

You might find that the android-platform list is a better place to
discuss working on the platform itself (which includes the built-in
applications), whereas android-developers typically caters to
developers creating new applications on top of the official Android
SDK. I hope that someone there can help you dig into the code and
debug that issue.

Thanks a bunch,
JBQ




--~--~---------~--~----~------------~-------~--~----~

3. JUN wants to chat

4. Who maintains / supports Android core applications like MMS / Contacts / etc.?

5. Issue with pending messages and onDestroy()

6. TabActivity vs VideoView vs Camera Preview contention

7. HTTP compression lost when using 3G connection