Code sign Android app for users
Android App Bundle (AAB)
AAB is a new publishing format used to upload mobile apps to Google Playstore. This format includes all your app’s compiled code and resources, and defers APK generation and signing to Google Play. AAB is used to optimize the size of your mobile app, by allowing users to download the required assets or files based on their device specifications.
In Creator, we now support two file types for Android:
Things to know
- You can code-sign your mobile apps using both AAB and APK file types by selecting both options under the Export mobile app as section. Learn more
- When you choose to code-sign your apps using AAB you can generate the APK file as well from AAB. Learn more
There are two different keystore files needed to generate the appropriate file types:
- Upload Keystore file (for AAB)
- App Signing Keystore file (for APK)
Upload Keystore File
This is the second-level keystore file used to identify the developers who are responsible for their published apps. Users have to create this keystore file and use it while generating AAB. Learn how to generate upload keystore file
App Signing Keystore File
This is the main keystore file used to sign a mobile app to install them in your mobile and tablet devices. Users have to create this keystore file and use it while generating APK. Learn how to generate app signing keystore file
Code sign Android app for users using AAB
- Edit your app. You'll be taken to your app's Design page.
- Click Settings at the top of the Design page. You'll be taken to your app's Settings page.
- Click Download as Mobile App under the Users and Control.
- Click For Android under the For Users section. The Download Mobile App pane will appear on the right.
- Set App Icon as follows. This will be your app's icon in your users' mobile devices.
- Use Default Icon option will be selected by default. This is the application icon you set in the Settings page, as mentioned here
- You can opt to Upload Custom Icon, which needs to be a PNG file of 1024x1024 px resolution.
- Enter Package Name. This will uniquely identify your Android app. It's usually in the format:com.companyname.appname.
For example,
com.zylker.employeemanagement. - In the Export Mobile App as section, tick the check box beside Android App Bundle (AAB).
- Under the Upload Keystore Details, enter the required details.
- Upload Keystore File. Refer to this page to know how to generate an upload keystore file.
- Enter Keystore Password.
- Enter Key Password.
- Enter Alias Name.
- Under Other Details, enter the required details. Firebase config file and FCM server key are required for enabling push notification support. Refer to this page to learn how to source them.
- Upload Firebase config file.
- Enter FCM server key and click Generate client.
- Now, click Code sign. The codesign process can take up to 10 minutes.
- View the code signing status under For Android.
- Upon successful code signing, the status will change to Available and AAB will be generated.
- Click the For Android button. The For Users - Android pane will appear on the right.
- Distribute your code-signed Android app to your users by any of the following methods:
- Navigate to the Overview tab, click the Download AAB button, then share the resulting Android App Bundle (.aab) file with your users.
- Navigate to the Send Link tab and enter the email address of your users, then click Send Link. Your users will receive an email containing a public link to download your app's .aab file.
- To disable the push notifications, navigate to the Overview tab and click the Disable button beside the Push Notification section.
- Click OK in the Disable Push Notification for Android app popup.
- To re-codesign your Android app, navigate to the Overview tab and click the Re-codesign button at the top-right of the For Customers - Android pane.
- Click OK in the Re-Codesign popup window.
Code sign Android app for users using APK
- Edit your app. You'll be taken to your app's Design page.
- Click Settings at the top of the Design page. You'll be taken to your app's Settings page.
- Click Download as Mobile App under Users and Control.
- Click For Android under the For Users section. The Download Mobile App pane will appear on the right.
- Set App Icon as follows. This will be your app's icon on your users' mobile devices.
- Use default icon will be selected by default. This is the application icon you set in the Settings page, as mentioned here
- You can opt to Upload Custom Icon, which needs to be a PNG file of 1024x1024 px resolution.
- Enter Package Name. This will uniquely identify your Android app. It's usually in the format:com.companyname.appname.
For example,
com.zylker.employeemanagement. - In the Export mobile app as section, the check box beside Android Package (APK) will be selected by default.
- Under the App Sign Keystore Details, enter the required details.
- Upload Keystore File. Refer to this page to know how to generate an app-signing keystore file.
- Enter Keystore Password.
- Enter Key Password.
- Enter Alias Name.
- Under Other Details, enter the required details. Firebase config file and FCM server key are required for enabling push notification support. Refer to this page to learn how to source them.
- Upload Firebase config file.
- Enter FCM server key and click Generate Client.
- Now click Code Sign. The code sign process can take up to 10 minutes.
- View the code signing status under For Android.
- Upon successful code signing, the status will change to Available and APK will be generated.
- Click the For Android button. The For Users - Android pane will appear on the right.
- Distribute your code-signed Android app to your users by any of the following methods:
- Navigate to the Overview tab and click the Download APK button, then share the resulting Android Package Kit (.apk) file with your users.
- Navigate to the Send Link tab, enter the email address of your users, and then click Send Link. Your users will receive an email containing a public link to download your app's .apk file.
- If you've integrated with Zoho MDM, navigate to the MDM Distribution tab. Enter the email address of your users and click Distribute.
- Your users will receive an email containing the enrollment request from the MDM. They can use either the URL or the QR code to complete their enrollment. Refer to this page to learn more about Zoho MDM.Note: The MDM option is available only for APK.
- To disable the push notifications, click the Disable button beside the Push Notification section.
- Click OK in the Disable Push Notification for Android app popup.
- To re-codesign your Android app, click the Re-codesign button at the top-right of the For Customers - Android pane.
- Click OK in the Re-Codesign popup window.
Code sign Android app for users using AAB and APK
- Edit your app. You'll be taken to your app's Design page.
- Click Settings at the top of the Design page. You'll be taken to your app's Settings page.
- Click Download as Mobile App under the Users and Control.
- Click For Android under the For Users section. The Download Mobile App pane will appear on the right.
- Set App Icon as follows. This will be your app's icon on your users' mobile devices.
- Use Default Icon option will be selected by default. This is the application icon you set in the Settings page, as mentioned here
- You can opt to Upload Custom Icon, which needs to be a PNG file of 1024x1024 px resolution.
- Enter Package Name. This will uniquely identify your Android app. It's usually in the format:com.companyname.appname.
For example,
com.zylker.employeemanagement. - In the Export Mobile App as section, tick the check box beside Android App Bundle (AAB) and Android Package (APK).
- Under the Upload Keystore Details, enter the required details.
- Upload Keystore File. Refer to this page to know how to generate an app-signing keystore file.
- Enter Keystore Password.
- Enter Key Password.
- Enter Alias Name.
- Under the App Sign Keystore Details, enter the required details.
- Upload Keystore File. Refer to this page to know how to generate an app-signing keystore file.
- Enter Keystore Password.
- Enter Key Password.
- Enter Alias Name
- Under Other Details, enter the required details. Firebase config file and FCM server key are required for enabling push notification support. Refer to this page to learn how to source them.
- Upload Firebase config file.
- Enter FCM server key.
- Click Code sign. The code sign process can take up to 10 minutes.
- View the code signing status under For Android.
- Upon successful code signing, the status will change to Available and AAB will be generated.
- Click the For Android button. The For Users - Android pane will appear on the right.
- Distribute your code-signed Android app to your users by any of the following methods:
- Navigate to the Overview tab, click the Download AAB button, then share the resulting Android App Bundle (.aab) file with your users.
- Click the Generate APK button, then share the resulting Android Package Kit (.apk) file with your users. Learn more
- Navigate to the Send Link tab and select the required option (APK and/or AAB) beside Attach.
- Enter the email address of your users, then click Send Link. Your users will receive an email containing a public link to download your app's .aab file and/or .apk files.
- To disable the push notifications, click the Disable button beside the Push Notification section.
- Click OK in the Disable Push Notification for Android app popup.
- To re-codesign your Android app, click the Re-codesign button at the top-right of the For Customers - Android pane.
- Click OK in the Re-Codesign popup window.
Generate APK from AAB
Once AAB is generated, we can easily generate APK from it by using the App Signing keystore details.
To generate APK from AAB,
- Click the For Android button. The For Users - Android pane will appear on the right.
- Navigate to the Overview tab, click the Generate APK button.
- Enter the required details in the Generate APK popup and click Generate. The .apk file will be generated and you can share the resulting Android Package Kit (.apk) file with your users.