Android Studio – drawable folders are missing

androidandroid-drawableandroid-studiodrawable

I was trying to add some images to my project in Android Studio however I noticed that I only had the drawable folder, neither of other (drawable-hdpi etc.) folders were there.

So I decided to put them by hand, just created the folders with appropriate names and placed the images:

enter image description here

However It still kept giving this error which I couldn't handle. Why this error occurs and how to solve it?

Thank you.

Best Answer

drawable-* folders should be under res and not under res/drawable.