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 trialHeather Crummer
13,558 PointsWhen attempting to paste the images into the mipmap file, I got no response. This is my workaround. Any shorter ways?
Right clicking on paste on the mipmap file did absolutely nothing. I ended up opening the mipmap file on my computer (right clicking on the mipmap file in Android Studio gives you a nice option called file path that shows you where its stored, if you don't know). I then pasted each image into the appropriate file, overriding the original image each time. It worked fine but does anyone else know a better way or why paste failed to work?
Heather Crummer
13,558 PointsHello, Harry. I AM running a Windows PC with Windows 10 OS. I probably should've said that. I tried running it with Admin rights, but it still does absolutely nothing when I try to copy the icon pics into the mipmap file. Thanks for responding so soon, though.
6 Answers
Harry James
14,780 PointsHey Heather!
Hope you had a Happy New Year! Strange that Android Studio still won't copy the files across - are you using the latest version of Android Studio? If not, update the program under Help >> Check for Update....
If you are in fact running the latest version, I would consider sending in a Bug Report to the team. To do this, go to Help >> Submit Feedback. This will create a new bug report and send it off to Google, containing details about your system that can be used to help fix the issue. You will probably also be asked to provide a log file as you try to paste a file, which can be used to help the team fix your issue.
Good luck and do in the meantime use the standard method of Windows Explorer until you can get the issue fixed :)
Heather Crummer
13,558 PointsThanks! I didn't realize I could open Windows Explorer directly from Android Studio. Easier than opening the file path :)
Erick Ramirez
1,633 PointsAnother way besides the helpful posts above, is to right click the mipmap folder and click on "add image asset", follow the instructions and pick your image, the style of your image: circle, square, padded etc. You are done! Android Studio will automatically convert each of the images and scale them to their appropriate resolution.
Harry James
14,780 PointsNice find Erick!
I wasn't aware of this! Will definitely take into account in the future if I run into any issues :)
Erick Ramirez
1,633 PointsInstructions:
- Right click mipmap folder
- Select the first option "new"
- on the right side another menu list will pop up and click "Image asset"
- Browse for image
- Customize
- Done!
Heather Crummer
13,558 PointsAwesome! It's fun exploring and finding all these little shortcuts.
Heather Crummer
13,558 PointsUpdate: I had a few other problems with Android Studio, but as of today, they have been fixed. I guess there were some bugs that have since been eradicated.
Joyce Chidiadi
1,867 PointsI want to use a different icon for my app. I have added the image to my mipmap folder but it still shows the ic_launcher icon image. Can I delete the ic_launcher image from my res directory, so that my chosen image can replace the app icon?
Joyce Chidiadi
1,867 PointsI deleted the ic_launcher and it worked. Yeh!
Ivailo Hristov
6,297 PointsI had exactly the same problem until i unzip that file ... I forgot to unzip it :)
Harry James
14,780 PointsHarry James
14,780 PointsHey Heather!
Are you running a Windows PC? If so, can you try out running Android Studio with Administrator rights (Right-click when opening) and let me know if this has any effect?