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 trialChetram Chinapana
1,793 PointsThe 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
56,413 PointsDid 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.
Noah Guthrie
659 Pointsi'm having same issue but their is no mipmap?
Chetram Chinapana
1,793 PointsChetram Chinapana
1,793 PointsHi 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
56,413 PointsSeth Kroger
56,413 PointsIt should be in res alongside drawable, layout, etc.
Jonathan Lay
8,468 PointsJonathan Lay
8,468 PointsThanks, that worked for me.