# Android Resigning

## Requirements

* The correct App version is selected
* A build in your build history

## Resign your app

To resign your Android app, go to your build history and press on the build you wish to resign.&#x20;

Then, you can press on the *Resign this build*-Button on the appeared Dashboard.

<figure><img src="/files/FFcoFKgydm4E78LMS1R8" alt=""><figcaption><p>Build Dashboard under Apps > Builds</p></figcaption></figure>

Now you can see different input fields:

* Package Name: Here you can change the package name. Attention: If you want to upload the .aab file to the Playstore, the **package name must be the same** as the one on the play store.&#x20;
* Version Name: This is the version that the user sees. Should but does not have to follow the `<major>.<minor>.<point> <string>` convention. The version name can be any string.
* Version Code: This Number is used by Android to determine the newest version. If a apk should be published, always increment the version code.&#x20;
* Keystores: To upload your app to the Play Store, you will need a keystore key.&#x20;

  * .aab default key: Updraft provides a default keystore. This key you will **not be able to upload** a signed .aab file to the Play Store.
  * .aab my own signing key: To Upload a build, you need to add your own keystore in the *application overview settings* (Apps > Application Overview > *Use AAB default key >* off ).

  <figure><img src="/files/XdQuhwsKrVoJsRj2NdPi" alt=""><figcaption><p>The Resign Build form</p></figcaption></figure>

Now press *Resign build* and you will see your resigned build in the build history. &#x20;

## Handling .aab resigning issues

When you upload an already signed .aab file, Updraft removes the existing keystore from the file and ensures the .aab file is correctly signed with the new keystore.  Your .aab file will be re-signed with the keystore stored in Updraft (either the default or a custom keystore).&#x20;

**Error Message:** "The Android App Bundle was signed with multiple certificate chains.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.getupdraft.com/your-projects/builds/build-history/android-resigning.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
