# Android Icon Troubleshooting

When creating an Android Application, it is now common to use [Adaptive Icons](https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive) instead of normal image files. With this icon format, Updraft can sometimes not extract the app icon properly.

![Missing Icon in Android Updraft Project](https://1499220200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDXK35bj42Hdun3u_Zb-165900098%2Fuploads%2F62gdXttgbM5dSpTtqqJN%2FScreenshot%202022-01-18%20at%2013.58.37.png?alt=media\&token=22e93315-2e27-4a95-bf9d-50e4e8ae5bfb)

First, you need to make sure that the **legacy icons** for the icon are generated. In order to do that, make sure to add your Adaptive Icon by creating a new `Image Asset`:&#x20;

![](https://1499220200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDXK35bj42Hdun3u_Zb-165900098%2Fuploads%2FRRIn8cIOAuoH4ZrAHzhM%2FScreenshot%202022-01-18%20at%2014.08.18.png?alt=media\&token=28c74045-4e35-4504-8d79-70184aabc5cc)

After adding both Foreground and Background Layer, make sure that the `Legacy Icon` under the Options tab is set to `Yes` . After that's done, Icons named `ic_launcher.png` will be generated.

![Image Asset Dialog](https://1499220200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDXK35bj42Hdun3u_Zb-165900098%2Fuploads%2FWRik0BswT43VUhJxyFcB%2FScreenshot%202022-01-18%20at%2014.13.02.png?alt=media\&token=0378ec62-de39-48f4-89ca-31d077425c88)

<img src="https://1499220200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDXK35bj42Hdun3u_Zb-165900098%2Fuploads%2FCoSU9cTNB6a14fLxFBYC%2FScreenshot%202022-01-18%20at%2014.23.14.png?alt=media&#x26;token=6364f4ad-d24d-4bd2-84af-97edb326e810" alt="" data-size="original">

Now, when uploading builds to Updraft, it will extract the `ic_launcher.png` and show it correctly as an App Icon. However, when using minified builds, this will not work correctly yet.

### Fixing Icons for minified release builds

When using minified Android builds (`minifyEnabled true`), the extraction of the icon will not work, as the name of the icon is obfuscated and changed to some random string.&#x20;

This problem can be solved, by using the [Android App Bundle](https://docs.getupdraft.com/your-projects/app-overview/android-app-bundle-aab) upload instead of APK.&#x20;
