Because Android App usually encrypt with the RSA method, the mPaaS console only supports to get signatures for the App encrypted with the RSA method at the moment. If you need to use the DSK method to encrypt the App, add signatures by the following steps.
See the following steps to add signatures:
Go to mPaaS console > Code management > Code configuration> Android tab to download the configuration file.Note: Do not upload the signed APK
- before downloading the configuration file.
- The base64Code value, if any, must be cleared, as shown in the following figure.
Use the mPaaS plug-in to generate encrypted image. Go to mPaaS from the top navigation bar of Android Studio > Basic tools > Generate encrypted image (Apsara Stack profile) page, enter the relevant configuration information, and click OK to generate an encrypted image.
appSecret is available from the mPaaS console under Code management > Code configuration > Android tab, as shown in the following figure.
- Make a regular call of RPC to see if the call is successful.