# Signing Android apps

**URL:** <https://forums.fusetools.com/t/signing-android-apps/5515>\
**Category:** How-to Discussions\
**Created:** [July 22, 2015, 3:39pm UTC](https://forums.fusetools.com/t/signing-android-apps/5515 "2015-07-22T15:39:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anders\_Jakob\_Sivesin](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_jakob_sivesin/32/548_2.png) [@Anders\_Jakob\_Sivesin](https://forums.fusetools.com/u/Anders_Jakob_Sivesin)\
**Post date:** [July 22, 2015, 3:39pm UTC](https://forums.fusetools.com/t/signing-android-apps/5515/1 "2015-07-22T15:39:39Z")

</div>

I haven’t been able to find any description of how to add the key for signing android apps in fuse. I’ve been able to make out that it has something to do with:

```auto
"Android": {
    ...

    "Key": {
    }
}

```

in the project file, but I haven’t been able to figure out what I should put in there.  
It would be really useful to have information about this in the guide about exporting for Android! 🙂

---

<div class="post-metadata">

**Author:** ![Morten\_Daniel\_Fornes](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/morten_daniel_fornes/32/52_2.png) [@Morten\_Daniel\_Fornes](https://forums.fusetools.com/u/Morten_Daniel_Fornes)\
**Post date:** [July 23, 2015, 8:12am UTC](https://forums.fusetools.com/t/signing-android-apps/5515/2 "2015-07-23T08:12:40Z")

</div>

Hi,

A project set up for signing look like this:

```auto
  "Android": {
    "Package": "com.morten.SGTest",
    "VersionCode": 100,
    "VersionName": "1.0.0",
    "Key": {
      "Alias": "application",
      "AliasPassword": "android",
      "Store": "release.keystore",
      "StorePassword": "android"
    }
  },

```

A file named `release.keystore` is expected to be found in the same folder as your unoproj. This file can be created using the command:

```auto
keytool -genkey -v -keystore release.keystore \
    -alias application -keyalg RSA -keysize 2048 -validity 10000

```

Note that only release builds are signed using your specified key. (Debug builds are automatically signed using a debug key)

---

<div class="post-metadata">

**Author:** ![lacika.nagy](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/lacika.nagy/32/273_2.png) [@lacika.nagy](https://forums.fusetools.com/u/lacika.nagy)\
**Post date:** [July 23, 2015, 8:19am UTC](https://forums.fusetools.com/t/signing-android-apps/5515/3 "2015-07-23T08:19:54Z")

</div>

Also, that validity you shoud consider setting up really high, since you only can update seamlessly apps, which has the same keysign. This setup by @morten is for 27.something years, which should be enough, but if you are planning on releasing the app to google stores, you must set it valid at least until 22 October 2033. You can read more on signing android apps here, where it is covered more broader, also maybe you can find something interesting there.

[http://developer.android.com/tools/publishing/app-signing.html](http://developer.android.com/tools/publishing/app-signing.html)

---

<div class="post-metadata">

**Author:** ![Anders\_Jakob\_Sivesin](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_jakob_sivesin/32/548_2.png) [@Anders\_Jakob\_Sivesin](https://forums.fusetools.com/u/Anders_Jakob_Sivesin)\
**Post date:** [July 23, 2015, 9:04am UTC](https://forums.fusetools.com/t/signing-android-apps/5515/4 "2015-07-23T09:04:10Z")

</div>

Fantastic, I just wasn’t sure what the variables under Key was named.
