NotFoundException and FileNotFoundException when running app on Android 1.5?

Success! The problem was that I had one foo. Png resource in drawable-hdpi-v4/ that was not present in the drawable/ directory.

When I referenced R.drawable. Foo from my layout file, the 1.5 emulator was therefore not able to find a suitable resource for that id. What made it so difficult to track down was that the error didn't happen immediately when referencing foo.

Png, but rather the error was thrown on the NEXT resource referenced, which was bg.png. Google has confirmed this is a bug. Adding an mdpi version of foo.

Png to the drawable/ directory fixed the problem.

4 Wow, this just bit me again 5 months later. Stackoverflow ftw. – emmby Feb 4 at 21:01.

I faced the same problem a few days back. And the only solution I found was to create a new project from scratch and add you source files and res files to them. This would definately fix the problem.

Hm, I just tried that and it doesn't seem to have made any difference – emmby Jul 29 '10 at 15:09.

If you are building your project using Android 1.6 with minSDKVesrion set to 3, you can create only 3 folders drawable-hdpi,drawable-mdpi,drawable-ldpi. I recreated your issue in my project and when I changed the Res folder structure it started working perfectly. You can surely give it a try (There is a Android 1.5 issue you be aware of.

Many 1.5 mdpi devices pick up resources from drawable-ldpi folder. ).

The 1.5 emulator doesn't recognize the drawable-mdpi directory at all. If I move my drawable/ resources to drawable-mdpi/, it's unable to find any of them (including the app icon). If I leave them in drawable/, it at least finds the app icon (although not the bg.

Png for some reason) – emmby Jul 30 '10 at 13:49.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions