1. Home
  2. Android
  3. Keystore & Signing
  4. Android APK Signing Tool v2 (apksigner)

Android APK Signing Tool v2 (apksigner)

About

The APK Signer Tool v2 allows you to sign and align your Android application using the “apksigner” included in the Android Build Tools, managing your keystore files and certificates and so on.

Info

The tool uses the .Net runtime by Microsoft. Make sure that you have the runtime installed on your computer.

 

Download

APK Signer Tool (v2)

Please, download our free APK Signer Tool (v2) below.

Icon

APK Signer Tool (v2) 1 MB 9893 downloads

About The APK Signer Tool (v2) is a new version of the original APK Signer Tool made...
Beta

Please note, the current version is a beta version. If you are facing any problems, please let us know!

Android Studio

To get all functions working, you need to download the Androdi Studio or at least the Android SDK. Please find the download link below.

Icon

Android Studio 758 MB 274 downloads

Android Studio is the IDE from Google to make your own Android App. It also comes...

JDK

Also to get some features working, you need to install the Java Developement Kit (JDK) on your local machine. Please find the download link below.

Icon

Java JDK 8 200.00 MB 21610 downloads

The Java Development Kit contains useful tools, like the "keytool" to create your...

Documentation

Thank you for downloading our APK Signer Tool v2! Please read the following documentaton carefully. If you got any errors, please check the Error Handling section below. If your error is not covered there, please submit a support request either via our Ticket center or our forum.

  Submit a Ticket or    Visit our Forum

Select Pathes

To be able to use all functions of the APK Signer Tool you need to specify the path to your your Java JDK installation and to your Android Build Tools installation.

To do so, just click the corresponding button to browse the installation folder.

If the path is valid, the input form will be set to green.

Important

Please make sure that you have installed the Android Build Tools (via Android Studio) and the Java Developement Kit (JDK) on your local machine first.

Create a KeyStore File

The tool allows you to create your own Keystore file (.jks / .keystore) if you have none. To do so, please select the Keyfile Generator (JDK) tab first.

Select the export path for your KeyStore file with the Browse button. Give it a proper name and click Save.

KeyStoreType

You either can save the key as .jks or .keystore file. Both are working.

Then, please enter all needed information into the input forms. If your input is valid, the input form becomes green.

Please note...

The password must be at least 6 chars long!

When you feel ready, click the “Generate Key File” button below. When the key has been created successfully, you will get a notification.

Align & Sign

If you want to sign or / and align an application, select the Align & Sign tab first.

Here you either can sign or align your application, or do both in one step.

Important

Due to the fact that our tool is using the “apksigner.exe”, you have to align your APK before you sign it!

To align and sign your application, please select your APK file first. To do so, use the Browse button.

Please make sure to select an unsigned and un-aligned APK file!

In the next step, select your keystore file. To do so, please click the Browse button.

My Keys

This tool allows you to save your keys on your local machine. So you only need to select your key at the dropdown to use it. Learn more at the “My Keys” section of this guide.

Please note...

The tool automatically checks the key password. If it’s valid, the alias gets fetched automatically. Otherwise you will get a notification.

If all information are provided, click the Align and Sign button. Then, your APK will be aligned and signed automatically.

When all went good, you will get a notification. You also can check the consol on the right hand side.

My Keys

Save Key

The tool allows you to save your keys in a collection. To do so, just click the “Save to List” button at the Align and Sign tab.

Important

You must enter all information for your key before you can save it to your list!

Manage Keys

To use a saved key, just select it at the dropdown menu at the Align and Sign tab. All needed information will be fetched from the saved key, like the alias, the password and the path.

Important

The key path must be valid! Do not move or delete your key on the saved location!

You find an overview of all your saved keys at the My Keys tab. You easily can delete a key entry from the list by performing a right mouse click on it and select Delete…

Important

This will not delete your keystore file on your local drive. Only the entry in the tool will be removed.

Event Monitor

The event monitor shows the application log. If you have any troubles, please check the event monitor first.

You can clear the log by clicking the Clear Logs button.

Error Handling

The tool has some defined error codes. Those  codes make it easier to find the problem. Please, see the following error codes and their description.

0x0001 – Android Build Tools Path

If you get the error code 0x0001 you have selected an invalid path for the Android Build Tools. Please make sure to select the “build-tools” directory. The application will fetch automatically the highest available version of it.

Information

You need to install “Android Studio” to get the build tools.

Please keep in mind that you need to install Android Studio to get the build tools installed on your computer. Afterwards you can find the build tools here.

C:\Users\USER_NAME\AppData\Local\Android\Sdk\build-tools\

0x0002 – Outdated Build Tools

If you get this error, please go to Android Studio and update your build tools SDK to the latest version.

To do this, please proceed following steps:

  • Open Android Studio (open a project, if you have none, make a new one)
  • Go to “Tools” -> “SDK Manager”

  • Then select the “SDK Tools” tab, select the latest version of the “Android SDK Build-Tools” and click “Apply” to install / update it

0x0003 – Wrong JDK path

If you get this error code, you have selected the wrong JDK installation (maybe the JRE or a subfolder). Please make sure that you select the root folder.

0x0004 – Application not found

If you get this error, please check your pathes for your JDK and Android Build Tools installation. This error says, that either the “apksigner.exe” (Android Build Tools) or the “keytool.exe” (JDK) cannot be found.

0x0005 – Probelms to clear log

If you get this error code, the tool has problems to clear the log file. This can be caused if you have the log file open with another application. Try to close it and try again to clear the log.

Translation

With the latest update the tool has become localised. For now, it’s available in following languages.

  • English (default)
  • German

If you want to provide any further translation, please let me know in the forum!

Known Issues

Please find a list of the known issues below. Those issues will be fixed with the next update.

Space in path

Thanks to Martin for reporting this issue. It seems that the tool has issues when a space is in the path / folder name. Till this is fixed, please replace the space with another char. Should be fixed in version 2.0.2-beta.

Bugs & Problems

Please, if you are facing any issues, open either a ticket or a forum post. If you just leave a bad feedback to this article, I have no chance to contact you for further details!

  Submit a Ticket or    Visit our Forum

Changelog

v2.0.3-beta – 2018-07-01

  • Improvement: Minior visual adjustments
  • Improvement: Now if you align and sign the APK separately the APK path will be updated automatically to the aligned APK.
  • Fix: Fixed issue that the log file couldn’t be written (was blocked by an unclosed reader of the tool).
  • New: Localisation added. For now the tool is available in English and German. If you want to help translating the tool, please let me know in the forum! Thank you.

v2.0.2-beta – 2018-05-06

  • Improvement: Dialog asking to select your JDK & Android Build Tools Path now will be shown after the Tool has been loaded completely
  • Improvement: Adjusted some error logs to be more specific
  • Fix: Typos fixed
  • Fix: Tool didn’t work if a space was in the APK or Keystore path
  • New: Added EventLog viewer (shows logs from the log file directly in the tool)
  • New: Added button to clear log

v2.0.1-beta – 2018-04-18

  • Hotfix: Avast thought file includes male ware. Added some publisher information to the tool. Now it looks good.

v2.0.0-beta – 2018-04-18

  • First relase
Updated on August 7, 2018

Was this article helpful?

Related Articles

Comments

  1. hi im facing a problem with keysotre when i generate the keystore and tri to sign the apk with it ( message popup- your key password seems to be invalid ) itry number only / numbers and words/ words only nothing to seems working
    plz help

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.