Hi,

I am having the same problem.  I realize that you should not include
the file extension.  I have tried creating the Raw folder in the file
system, and placing my file there.  I have also tried creating a new
flat file in to be placed in the Raw folder within Eclipse.  Both give
the same error:

"R.raw cannot be resolved".  The problem is not with the file name.
The class R.Raw is not being created in R.java like the other classes
(drawable, layout, string).

Did you ever find a solution?

Thanks.



On Nov 7, 6:02 am, cwj <[email protected]> wrote:
> Hello everyone, i am still a beginner in developing android
> application.
> when i try to run the this sample code in eclipse, it came out some
> error at this part
> mMediaPlayer = MediaPlayer.create(this,R.raw.test_cbr);
> it says thatR.rawcannotberesolved.
>
> And by the way, how do i store the music file in the SD card? Is this
> step necessary even if i run it on the emulator?
>
> Anyone, help! thanks

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

Reply via email to