This topic describes how to use the Android Security Hardening Professional Edition to quickly harden an application and obtain the hardened package.
Prerequisites
You have an unhardened APK or AAB file. The file size must be 300 MB or less.
You have purchased the security hardening service or are in the seven-day free trial period.
Procedure
Perform the following steps:
Log on to the mPaaS console and select the target application.
In the navigation pane on the left, choose Security > Mobile Security Armor > Android application security hardening to go to the Android application security hardening page.
In the upper-right corner, select Professional Edition to go to the Professional Edition Hardening page.
Click Create decurity hardening to go to the Upload application to be hardened page.
Click Upload Application to upload the APK or AAB file.
After the upload is complete, the Confirm security hardening information page appears. Confirm the application and hardening information.
(Optional) In the Add Classes for Security Protection section, select the classes to harden. Select only the important classes.
(Optional) In the Select So Files to Protect section, select the So files to protect.
(Optional) In the Select Assets Files to Protect section, select the Assets files to protect.
Click Confirm Hardening to harden the application.
Return to the Application Security Hardening page. A card for the hardening task appears. View the hardening progress on the card.
Reinforcing: The task is in progress.
Reinforced: The task is complete.
Failed: The task failed.
When the card shows the Hardened status, click Download to obtain the hardened package (the hardened APK or AAB file).
The hardened package is not signed. You must re-sign the package after you download it. Then, publish the re-signed package to the application marketplace.
What to do next
After hardening, check that key features work correctly. If the application does not function correctly after hardening, please search for group number 145930007362 and join the DingTalk group for consultation and communication.