How I could add R.raw class to my android project? Now I haven\'t /res/raw folder at all (and class as well). And I can\'t find any tools in eclipse to do that. So how to add R.
You need to right-click on res->new->Android resource directory. Make sure you select directory and not file.
Select raw in resource type and it automatically selects raw as the directory name.
Drag and drop your .mp3 music file inside the res folder. Make sure that it starts with a small letter.