I am working in android SDK(Eclipse) platform 2.2 and I have been running through some tutorials, and some of them say to just add files to existing folder, or add folders; with
Let me Guess you are using eclipse.
It is all ways better to enable the option Build Automatically in Project->Build Automatically.
When you face this problem( R file not generated automatically) follow the following steps.
1.Right Click on the project and click "Close Unrelated Project"
2.Refresh you current working projects and make sure you see all your new contents are there in the res folder.
3.Now Uncheck Build Automatically and Click Build All from the project menu.
4.Now clean the project.
Hope your problem is solved now.