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

Elijah Wendel
Elijah Wendel
2,590 Points

Drawable folder empty

I am stuck at a point in the weather app course where I need to copy some weather icons to the drawables folder, and I am having some difficulties. For some reason, before I copied anything into the drawables folder it was empty and had no sub-folder. Then when I copied the weather icons into the folder, it still didn't appear. I restarted android-studio just in case it needed a refreshment and tried the synchronizing button to see if it would do anything. In the windows explorer it says the four folders are there, but nothing appears in the android-studio. Could somebody help me with this problem?

1 Answer

Gavin Ralston
Gavin Ralston
28,770 Points

If you're using the Explorer/Finder on your operating system to copy the folders, be sure not to nest them inside the "drawable" folder.

You put those individual "drawable-xxx" folders for your images right in the res directory. The "Android" view for your project will perform some magic to put them all inside a single drawable folder in the tree.