Integrate Mini Program into your project using the Native AAR method in Android Studio.
-
In Android Studio, select mPaaS > Native AAR from the top menu bar.
-
In the panel that appears on the right, click Import under Import App configuration.
-
In the pop-up Import mPaaS configuration file window, select I have downloaded the configuration file from mPaaS console, and then click Next.
-
Select the downloaded configuration file, and then click Finish to import it.
-
A confirmation message appears after the configuration file is imported.
-
Click Configure under Access/Upgrade Baseline on the right panel.
-
In the pop-up Select mPaaS Baseline Version window, select 10.1.68, and then click OK to integrate mPaaS SDK.
NoteTo upgrade the baseline, just click Configure again.
-
Click Configure under Configure/Upgrade Component on the right panel.
-
Select Mini Program in the component list, and then click OK. The Mini Program component is now integrated into your project.