Not sure - but you might be using the wrong resource ID. The clue in your messages is "from drawable resource ID" - I would not expect an MP3 (in raw) to be a drawable resource. However I could be completly wrong about this and the exception message might be being reused for different resource types.
Sorry I can't be more help. -- RichardC On Oct 27, 10:01 am, Revenant <[email protected]> wrote: > This is probably a real basic problem. I've been working on the > tutorials, and everything had been going fine so far (well, had a few > quirks, but I managed to solve them myself). The problem was with > tutorials containing audio, when I debug and install on an emulator, > the app stops due this error: > > E/AndroidRuntime( 788): Uncaught handler: thread main exiting due to > uncaught exception > > E/AndroidRuntime( 788): java.lang.RuntimeException: Unable to start > activity ComponentInfo{org.me.audio/org.me.audio.Audio}: > android.content.res.Resources$NotFoundException: File res/raw/up.mp3 > from drawable resource ID #0x7f040008 > > And that's quite typical for all of the mp3s listed. The files are > definitely there, and are in the correct location. I thought, maybe > it was due to me being difficult, and using NetBeans instead (but this > shouldn't make any difference as the IDE isn't doing the compiling), > since I already had it installed, so I downloaded Eclipse and tried it > again from there. Same problem. I've evidently missed something very > fundamental. Any ideas? > > I can't see how the resources can be missed from the path, if > everything else gets found automatically. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

