Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I don't have a raw folder in Eclipse, after making a new Android file project. What can I do?

Sorry, I'm a beginner programmer, and I'm learning only now the Android Java specific language. I have a book, from I want to learn, but I don't have a raw folder when I make a new project. How can I make it? Or I deleted it before? I don't know, because I'm only try to discover the Eclipse IDE, and I made some mistakes. :)

Thanks!

like image 636
Zwiebel Avatar asked Jan 26 '11 16:01

Zwiebel


People also ask

Where is the raw folder on Android?

The raw folder is created inside the res folder: main/res/raw.

How do I show folders in Eclipse?

To view the project explorer, click on Window menu then, click on Show View and select Project Explorer. There is simpler way to open project explorer, when you are in the editor press alt + shift + w and select project explorer.


2 Answers

I think you mean the raw folder, not file .. and no, it's not default, you have to create it: right-click on the res folder, select New...Folder, and enter the name of the folder, like in the image: enter image description here

Then, you can create new files there, either with drag-and-drop, or again right click on the folder name, New... File.

like image 161
Adinia Avatar answered Oct 22 '22 05:10

Adinia


You don't get every standard folder made for when you make a new Android project, raw folder included. Just right click your res folder in Eclipse, select new, and then folder. Make the new folder have the name raw and press Finish. Just put your raw files in there to use them.

like image 38
Jems Avatar answered Oct 22 '22 05:10

Jems