Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android MipMaps not working (Android Studio)

So, I set the mipmap folders up in the res/ directory (such as /src/main/res/mipmap-mdpi, and so on, for the different densities), and in the manifest I put the android:icon=@mipmap/ic_launcher for the ic_launcher.png files, yet I still get that android green guy on my phone when i press the play button. very frustrating. any suggestions to try?

ive tried uninstalling the app and cleaning the project

like image 462
MasterSquirrel Avatar asked Aug 09 '26 17:08

MasterSquirrel


2 Answers

I'm not sure if it is same issue as mine but I removed xml files in folder mipmap-anydpi-v26 after that it do its job

like image 181
sahapon Avatar answered Aug 12 '26 06:08

sahapon


In your Android Studio Inside a package Manager

  1. Right click on folder app and select new->Image Asset
  2. Default is launcher icon, just select your image and done

enter image description here

like image 32
Sanjeev Avatar answered Aug 12 '26 06:08

Sanjeev