How to change App Icon in the Android Studio

⏱️ Reading Time: 1 minute | 📝 Word Count: 188

To change the app icon in Android Studio:

1. Using Image Asset Studio (recommended)

  • Right-click on the res folder → New → Image Asset
  • In the wizard, set Icon Type to Launcher Icons (Adaptive and Legacy)
  • Click the folder icon next to Path to choose your image
  • Adjust padding/background color as needed
  • Click Next → Finish

This auto-generates icons in all required sizes inside the mipmap-* folders.

2. Manually replacing the icon files

  • Prepare your icon in the required sizes (48×48, 72×72, 96×96, 144×144, 192×192 px)
  • Paste them into the corresponding res/mipmap-mdpi, mipmap-hdpi, mipmap-xhdpi, mipmap-xxhdpi, mipmap-xxxhdpi folders
  • Name the file the same as the existing icon (e.g. ic_launcher.png)

3. Make sure AndroidManifest.xml points to it

In AndroidManifest.xml, the <application> tag should reference your icon:

<application
    android:icon="@mipmap/ic_launcher"
    android:roundIcon="@mipmap/ic_launcher_round"
    ...>

If you renamed your icon file, update these attributes to match.

Tips:

  • Use a 1024×1024 px source image for best results with Image Asset Studio
  • For Android 8.0+, consider creating an adaptive icon (foreground + background layers) for a modern look
  • After replacing, do Build → Clean Project then rebuild to see the change take effect

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top