Sign Android APK
With the Sign Android APK action, use apksigner to sign the Android APK.
Configuration Description
- Add Sign Android APK after Build with Android, when configuring build actions.
The parameters are described in the following table.
Parameter
Description
Action Name
Name of a build action. It can be customized.
APK Location
Location of the APK file to be signed generated after Android building. Regular expressions are supported. For example, build/bin/*.apk can be used to match the built APK package.
Keystore File
Keystore file used for signature, which is generated by referring to Generating Keystore Signature Files. Select a keystore file from the list of files already uploaded after you click Manage Files.
Keystore Password
Keystore password.
Alias
Alias of the keystore file.
Key Password
Password of the key.
apksigner Command
Custom signature parameter. The default value is --verbose.
- Check whether the signing is successful.
After the configuration is complete, run the build task. After the task is executed successfully, view the build log. If "result: Signed" is displayed in the Android APK signature log, the signing is successful.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.