# Set the app's icon on Android

**URL:** https://forums.fusetools.com/t/set-the-apps-icon-on-android/6858
**Category:** How-to Discussions
**Created:** [January 22, 2016, 8:20pm UTC](https://forums.fusetools.com/t/set-the-apps-icon-on-android/6858 "2016-01-22T20:20:39Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![Clyde\_S](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/clyde_s/32/39_2.png) [@Clyde\_S](https://forums.fusetools.com/u/Clyde_S)
#### Post date: [January 22, 2016, 8:20pm UTC](https://forums.fusetools.com/t/set-the-apps-icon-on-android/6858/1 "2016-01-22T20:20:39Z")

</div>

Hello. I am having difficulty with setting the app’s icon on Android.

I read both this thread [https://www.fusetools.com/community/forums/general/app\_almost\_done](https://www.fusetools.com/community/forums/general/app_almost_done)

and this page [https://www.fusetools.com/learn/guides/uno-project-format](https://www.fusetools.com/learn/guides/uno-project-format)

(These were the only documentation I could find that referred to the app icon)

When I build and run on my phone, the app icon is the white Fuse parallelogram on a dark gray background.

Here is what my unoproj file looks like

```auto
{
  "BuildDirectory": "build",
  "InternalsVisibleTo": [],
  "Packages": [
    "Fuse.Animations",
    "Fuse.BasicTheme",
    "Fuse.Controls",
    "Fuse.Designer",
    "Fuse.Drawing",
    "Fuse.Drawing.Primitives",
    "Fuse.Scripting",
    "Fuse.Reactive",
    "Fuse.Effects",
    "Fuse.Elements",
    "Fuse.Entities",
    "Fuse.Gestures",
    "Fuse.Navigation",
    "Fuse.Desktop",
    "Fuse.Android",
    "Fuse.iOS",
    "Fuse.Shapes",
    "Fuse.Triggers",
    "FuseCore",
    "Uno.Collections",
    "Uno.Geometry",
    "Fuse.PushNotifications",
  ],
  "Projects": [],
  "Icon": "Assets/myicon.png",
  "Android" : {
      "GooglePlay": {
          "SenderID": "8675309"
      },
      "Key" : {
          "Alias" : "KEY ALIAS",
          "AliasPassword" : "hunter2",
          "Store" : "AIR SHIELD",
          "StorePassword" : "12345"
      },
      "Icons": {
        "LDPI": "$(Icon)",
        "MDPI": "$(Icon)",
        "HDPI": "$(Icon)",
        "XHDPI": "$(Icon)",
        "XXHDPI": "$(Icon)",
        "XXXHDPI": "$(Icon)"
      }
  }, "Includes": ["*"]
}

```

Thank you.

---

<div class="post-metadata">

### Author: ![Kristian\_Hasselknipp](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/kristian_hasselknipp/32/549_2.png) [@Kristian\_Hasselknipp](https://forums.fusetools.com/u/Kristian_Hasselknipp)
#### Post date: [January 23, 2016, 12:12pm UTC](https://forums.fusetools.com/t/set-the-apps-icon-on-android/6858/2 "2016-01-23T12:12:36Z")

</div>

Hi!

What command are you using to build your project?

---

<div class="post-metadata">

### Author: ![Clyde\_S](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/clyde_s/32/39_2.png) [@Clyde\_S](https://forums.fusetools.com/u/Clyde_S)
#### Post date: [January 26, 2016, 6:23pm UTC](https://forums.fusetools.com/t/set-the-apps-icon-on-android/6858/3 "2016-01-26T18:23:58Z")

</div>

uno build --target=android --configuration=Release --run

---

<div class="post-metadata">

### Author: ![matt2](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@matt2](https://forums.fusetools.com/u/matt2)
#### Post date: [May 1, 2016, 3:04pm UTC](https://forums.fusetools.com/t/set-the-apps-icon-on-android/6858/4 "2016-05-01T15:04:15Z")

</div>

bump

---

<div class="post-metadata">

### Author: ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)
#### Post date: [May 2, 2016, 12:00pm UTC](https://forums.fusetools.com/t/set-the-apps-icon-on-android/6858/5 "2016-05-02T12:00:15Z")

</div>

Hi Matt,

Can you please elaborate a bit on what problem you are having? Have you tried setting `"Icon"` in you `unoproj`, and it still doesn’t use that icon?

Which version of Fuse are you using, which command do you use to build your app, and what kind of device are you seeing this problem on?

---

<div class="post-metadata">

### Author: ![cyril.gantzer](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@cyril.gantzer](https://forums.fusetools.com/u/cyril.gantzer)
#### Post date: [June 10, 2016, 8:30am UTC](https://forums.fusetools.com/t/set-the-apps-icon-on-android/6858/6 "2016-06-10T08:30:38Z")

</div>

Same thing, my unoproj looks like this:

```auto
"Icons": {
  "MDPI": "Assets/Icons/Android/mipmap-mdpi/ic_launcher.png",
  "HDPI": "Assets/Icons/Android/mipmap-hdpi/ic_launcher.png",
  "XHDPI": "Assets/Icons/Android/mipmap-xhdpi/ic_launcher.png",
  "XXHDPI": "Assets/Icons/Android/mipmap-xxhdpi/ic_launcher.png",
  "XXXHDPI": "Assets/Icons/Android/mipmap-xxxhdpi/ic_launcher.png"
 }

```

but all I get is the stock icon from Fuse. Also it looks like all docs about icons is gone from the web…?

---

<div class="post-metadata">

### Author: ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)
#### Post date: [June 10, 2016, 11:13am UTC](https://forums.fusetools.com/t/set-the-apps-icon-on-android/6858/7 "2016-06-10T11:13:29Z")

</div>

Hi, I just tried it here, and it works as expected. Did you remember to put `"Icons"` inside `"Android"`? Here’s my full `.unoproj` that gets me the right icons:

```auto
{
  "RootNamespace":"",
  "Packages": [
      "Fuse",
      "FuseJS"
  ],
  "Includes": [
    "*"
  ],
  "Android": {
      "Icons": {
          "LDPI": "Assets/ldpi.png",
          "MDPI": "Assets/mdpi.png",
          "HDPI": "Assets/hdpi.png",
          "XHDPI": "Assets/xhdpi.png",
          "XXHDPI": "Assets/xxhdpi.png",
          "XXXHDPI": "Assets/xxxhdpi.png",
      }
 }
}

```

Note also that we only use your own icons for export, for preview you always get the Fuse preview icon.

The documentation for the `.unoproj` format has moved to [https://www.fusetools.com/docs/basics/uno-projects](https://www.fusetools.com/docs/basics/uno-projects), in particular the Android icon section is at [https://www.fusetools.com/docs/basics/uno-projects#Android.Icons](https://www.fusetools.com/docs/basics/uno-projects#Android.Icons). (I just noticed we have some problems with the links there, I’ll make sure those are fixed.)

---

<div class="post-metadata">

### Author: ![cyril.gantzer](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@cyril.gantzer](https://forums.fusetools.com/u/cyril.gantzer)
#### Post date: [June 10, 2016, 4:45pm UTC](https://forums.fusetools.com/t/set-the-apps-icon-on-android/6858/8 "2016-06-10T16:45:10Z")

</div>

Here is my full unoproj and it’s only getting me the stock ones 😕

Maybe it’s something wrong with how I build? I usually run `fuse build --target=Android --configuration=Release` once, then edit the AndroidManifest.xml with the correct codeVersion, then run `./build/Android/Release/build.sh` at which point the apk is good enough for the store. However, a manual install on my phone gives me the stock icons…

```auto
{
  "RootNamespace":"",
  "Title":" Notes",
  "Mobile": {
    "Orientations": "Portrait"
  },
  "Packages": [
        "Fuse",
        "FuseJS"
  ],
  "Includes": [
    "*"
  ], "Android": {
    "Icons": {
      "LDPI": "Assets/Icons/Android/mipmap-ldpi/icon.png",
      "MDPI": "Assets/Icons/Android/mipmap-mdpi/icon.png",
      "HDPI": "Assets/Icons/Android/mipmap-hdpi/icon.png",
      "XHDPI": "Assets/Icons/Android/mipmap-xhdpi/icon.png",
      "XXHDPI": "Assets/Icons/Android/mipmap-xxhdpi/icon.png",
      "XXXHDPI": "Assets/Icons/Android/mipmap-xxxhdpi/icon.png"
     },
    "Key": {
      "Alias": "###",
      "AliasPassword": "###",
      "Store": "###",
      "StorePassword": "###"
    }
  }
}

```

---

<div class="post-metadata">

### Author: ![Baggers](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/baggers/32/665_2.png) [@Baggers](https://forums.fusetools.com/u/Baggers)
#### Post date: [June 14, 2016, 8:08am UTC](https://forums.fusetools.com/t/set-the-apps-icon-on-android/6858/9 "2016-06-14T08:08:43Z")

</div>

Hi Cyril, I shouldnt be a problem to use build.sh directly, but I’ll admit I havent tried that yet. A couple of questions:

- Do you get the icons on debug build?
- Do your icons have the correct sizes? [here is a list of size](http://stackoverflow.com/a/10817936)

If your answers for the above are both ‘yes’ then could we get a copy of your project so see if we could debug the issue on this end? If so please push a zip to [https://www.dropbox.com/request/ZgndLtJQm5eGzG9cicGK](https://www.dropbox.com/request/ZgndLtJQm5eGzG9cicGK)

Thanks for your help working through this with us, I hope we can beat this thing so it doesnt bite you or anyone else again

---

<div class="post-metadata">

### Author: ![cyril.gantzer](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@cyril.gantzer](https://forums.fusetools.com/u/cyril.gantzer)
#### Post date: [June 14, 2016, 5:07pm UTC](https://forums.fusetools.com/t/set-the-apps-icon-on-android/6858/10 "2016-06-14T17:07:17Z")

</div>

Hi Chris,

regarding the sizes: they were all correct, standard sizes.

regarding the debug build: how do I get it?

---

<div class="post-metadata">

### Author: ![Baggers](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/baggers/32/665_2.png) [@Baggers](https://forums.fusetools.com/u/Baggers)
#### Post date: [June 21, 2016, 9:18am UTC](https://forums.fusetools.com/t/set-the-apps-icon-on-android/6858/11 "2016-06-21T09:18:19Z")

</div>

Sorry for the slow reply, I’ve been out of the country visiting family.

Unless you are building in release mode it should be in debug. Regarding my earlier request, would it be possible to get a copy of your project so see if we could debug the issue on this end? This is a fiddly one to reproduce without your exact files so if you could send a zip to [https://www.dropbox.com/request/ZgndLtJQm5eGzG9cicGK](https://www.dropbox.com/request/ZgndLtJQm5eGzG9cicGK) it would really speed this up.

---

<div class="post-metadata">

### Author: ![cyril.gantzer](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@cyril.gantzer](https://forums.fusetools.com/u/cyril.gantzer)
#### Post date: [June 21, 2016, 10:39pm UTC](https://forums.fusetools.com/t/set-the-apps-icon-on-android/6858/12 "2016-06-21T22:39:17Z")

</div>

Hi Chris,

I had branched my git project with the failing icons, so that I could keep making progress on my app while still being able to provide you with the faulty code.

However, I tried to build again from this branch and the .apk I got… had the good icons. So even I couldn’t reproduce the issue, even with the exact files.

Note sure what I can do at this point, do you still need the files (I’d rather not share them too much as they include the release.keystore)?

---

<div class="post-metadata">

### Author: ![Baggers](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/baggers/32/665_2.png) [@Baggers](https://forums.fusetools.com/u/Baggers)
#### Post date: [June 22, 2016, 7:47am UTC](https://forums.fusetools.com/t/set-the-apps-icon-on-android/6858/13 "2016-06-22T07:47:39Z")

</div>

Hmm this is sounding like you have been a victim of a bug we have than can cause android projects not to rebuild properly after changes to just the unoproj.

I recommend running `uno clean` in the project directory after you switch branch and then see if you still have the issue.

Sorry this one has got you, we do have a ticket open for it and we will get on it as soon as we can.

---

<div class="post-metadata">

### Author: ![cyril.gantzer](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@cyril.gantzer](https://forums.fusetools.com/u/cyril.gantzer)
#### Post date: [June 22, 2016, 2:49pm UTC](https://forums.fusetools.com/t/set-the-apps-icon-on-android/6858/14 "2016-06-22T14:49:24Z")

</div>

I did run `uno clean` between the build 😕

---

<div class="post-metadata">

### Author: ![Baggers](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/baggers/32/665_2.png) [@Baggers](https://forums.fusetools.com/u/Baggers)
#### Post date: [June 23, 2016, 10:21am UTC](https://forums.fusetools.com/t/set-the-apps-icon-on-android/6858/15 "2016-06-23T10:21:47Z")

</div>

What a pain! Sorry to ask again but do you now have any branches with the issue?

---

<div class="post-metadata">

### Author: ![cyril.gantzer](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@cyril.gantzer](https://forums.fusetools.com/u/cyril.gantzer)
#### Post date: [June 23, 2016, 3:33pm UTC](https://forums.fusetools.com/t/set-the-apps-icon-on-android/6858/16 "2016-06-23T15:33:40Z")

</div>

I don’t at the moment, but I’ll keep an eye out for the bug!

---

<div class="post-metadata">

### Author: ![Michael\_K\_Ocansey](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/michael_k_ocansey/32/563_2.png) [@Michael\_K\_Ocansey](https://forums.fusetools.com/u/Michael_K_Ocansey)
#### Post date: [July 2, 2016, 4:48pm UTC](https://forums.fusetools.com/t/set-the-apps-icon-on-android/6858/17 "2016-07-02T16:48:09Z")

</div>

This worked for me … I moved the app icon to the root of my project and renamed it to icon.png.

```auto
...
"Icon" : "icon.png",
"Android": {
"Icons": {
            "LDPI": "$(Icon)",
            "MDPI": "$(Icon)",
            "HDPI": "$(Icon)",
            "XHDPI": "$(Icon)",
            "XXHDPI": "$(Icon)",
            "XXXHDPI": "$(Icon)"
        }
}

```
