Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build an Interactive Story App (Retired) User Input Introducing ImageViews

Did the latest Android Studio do away with the 4 separated 'drawable' folders?

I am running Android Studio 1.1.0 and I noticed for all my projects only one drawable directory is created named "drawable". Did Android Studio do away with the 4 separate folders and implement an automatic converter?

3 Answers

Seth Kroger
Seth Kroger
56,413 Points

Android Studio didn't do away with them but doesn't create them by default either. Instead it creates the mipmap-* directories specifically for the launcher icons.

You can just drag in the drawable folders in the project files you downloaded to create them.

If I drag over the folders it results in an error and the inability to locate files in the subdirectories. From what I have gathered online, it is not possible to go this route. We have to create sibling files not subfiles.

On Stack Overflow I found a method that I am currently trying to implement. By going to the top of the Explorer window, there is a drop down menu "Android". Click on it and by changing in to "project", the mipmap folder and subfolders are now siblings instead.

Hope that this helps :)

Stephen Ford. I believe if you hold alt while dragging them it gets rid of the error. If not you can right click on the appropriate directory and depending if you are on windows or mac you click find in windows explorer or show in finder respectively. From there you can drag the folders in directly. Hope this helps. Ben showed this in one of the videos.

Hi,

I haven't started that course but this link looks helpful http://developer.android.com/tools/studio/index.html

Conrad Spotts
Conrad Spotts
11,768 Points

I'm sure this is resolved for the author, leaving this answer for lurkers like me: in later versions of android the 4 drawable folders havbe been renamed mipmap so you'll see "mipmap-hdpi", etc.

This answer came from: https://teamtreehouse.com/forum/fix-new-directory-names