Because Android apps 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 an app, you should 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.
NoteDo 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.
Perform a regular RPCcall to see if the call works correctly. For how to perform PRC calls, see Call RPC.