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 

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

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. TI Android FroYo DevKit V 2.2 for Beagle XM and AM37x/DM3730 EVMs

hi syed,
i want to give this a try on my OMAP3530 Board.
But, i have some doubts..
Do i need to build a Different uImage for this?
If yes, what should i configure my uImage for?
which kernel version does it support?

On Jan 31, 9:37pm, "Syed Mohammed, Khasim " <>


2. Problems With Admob & AdWhirl eCPM Very Low

My Android App: Weight Loss Made Easy by Android Mobile Apps Launched
Jan 27th 2010 now (6) days in the market.

This app is somewhat of a test of getting my first app into the market
and learn some things as I go. Was not expecting over night success or
this to be a perfect app to start with. But I am expecting to see
earning more then $0.50 cents for all the work after being in the
market for 6 days. LOL

Here are my stats so far:

Android Market Stats
1775 total downloads
924 active installs (52%) (This looks a bit low to me. But this is a
test app and hopefully more quality content in future will help)
3 star rating (Could be better but its a first app)

Admob Stats
Revenue $0.51
eCPM $0.01 (Clearly looks extremely low..!)
Requests 189,131
Impressions 65,025
Fill Rate 34.38%
CTR .02%

I am also using Adwhirl so that I can use multiple advertisers for
better fill. However, I Admob is supposed to be one of the best and
wanted to start here and try and solve what I can here first. So I
have some questions that maybe someone could provide some help with.

1. My ECPM is extremely  low only yielding about $0.50 cents so far.
LOL  This is a just a first test app for me but come on what is wrong
here..! Need some help on why this is so low?

2. From what I can tell there does not seem to be a good selection of
ads based on target content. I know in Adsense marketing there needs
to be a good target on the ads related to content of the site in order
to get high clicks and also higher eCPM. I suspect it would need to be
the same for mobile apps. Many times the ads don't even display for a
while. From where I am sitting its hard to know if there are problems
with Admob not having enough as fill or what is going on. Any
suggestion for helping me solve this would be great.  At this point I
do not know if its Admob or something we don't have right on our end.
We have downloaded and installed the SDK and believe we have followed
directions properly.

3. Also this makes me wonder what is the percentage that Admob is
paying to the publisher. Am I am going to need a million clicks to
make $100? LOL

I am wanting to not only improve this app but also to build more
exciting apps but I must first figure out what the problems are with
Monetizing the app correctly in order to move forward.

I am am also interested in hearing if you can share or point me to
resources what might be the average eCPM for many of the mobile
publishers. Especially for Android. Now I realize that can very based
on niche. But there should be some basic industry averages based on
different categories like Health & Fitness, ect.

I have done some basic research and seen where some people are saying
the average eCPM for mobile is about $0.50 cents and others saying if
tweaked correct you can average between $2 to $5 USD. Either way it
would appear there is something seriously wrong with either my app in
the way its handling ads or AdWhirl or Admod at this point.

Any help/insight would be appreciated..!

Thanking everyone in advance,



3. Honeycomb /system/app

4. uploading apps

5. 鈥淪plit View鈥?app on Android

6. Failed to open /dev/mem: 'Operation not permitted

7. Playing audio when call is running so that other person can hear it