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 a Simple Android App (2014) Improving Our Code Adding an App Icon

The proper icon does not appear in the emulator as it appears in the res directory. Correct icon in res but not in emu

I did everything the video said but I do not know why it does not work in the emulator. I tried couple of times deleting the icon in the res directory and recopy from the downloaded icon folder but to no avail. The default icon android robot appears in the emulator. When I click on it the app works just fine but there is a disconnect with the icon appearing.

2 Answers

Seth Kroger
Seth Kroger
56,414 Points

Did you put the launcher icon in the drawable-* instead of the mipmap-* directories? It's a fairly recent change with Android Studio/OS to have the launcher icons in the mipmap-* folders instead of drawable. Just move them to the corresponding mipmap folder and it should be fine.

Hi Seth, Thank-you for your help. I am looking for the mipmap-* directory and I cannot see anything close to it. I used the search box and uncollapsed everything in the project directory but fail to see anything named mipmap???

Seth Kroger
Seth Kroger
56,414 Points

It should be in res alongside drawable, layout, etc.

Thanks, that worked for me.

Noah Guthrie
Noah Guthrie
659 Points

i'm having same issue but their is no mipmap?