Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article explains how to manually code sign an AAB file.
Prerequisite
Set up Android Studio.
Install bundletool for converting AAB file to APK file. You can download the latest version from the official site.
Install jarsigner for signing in the AAB file. You can install jarsigner by downloading and setting up the Java Development Kit (JDK).
Signing process for AAB file
Note
You need to sign the AAB file even if you select the automatic signing process in the wrap wizard.
To sign an AAB file, follow these steps:
- Open a terminal or command prompt.
- Go to the directory where
jarsigneris installed. - Run the commands shown in the image.
Replace the placeholders:
- <path-to-your-keystore>.jks– Path to your .jks keystore file -<output-signed-aab-file>.aab– Output file name. -<input-unsigned-aab-file>.aab– Unsigned .aab file. -<bundleid>– Bundle ID used while wrapping.
Convert AAB to APK file for manual debugging
To convert an AAB file to an APK file, follow these steps:
- Open a terminal or command prompt.
- Run the commands shown in the screenshot.
Replace the placeholders:
- <path-to-signed-aab-file>.aab– Path to the signed AAB file. -<output-directory>– Output directory for the .apks file.
- Sign the APK if you use the manual signing process. For more information, see Code sign for Android - Power Apps.