Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,407 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,407 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?