AAR access refers to the mode that almost uses native access. When AAR access is used, to meet the need for mPaaS baseline management, you need to use the latest stable Android Gradle Plugin and Gradle Wrapper versions. Android Gradle Plugin 3.5.3 and Gradle Wrapper 5.6 or later versions are recommended. Currently, Android Gradle Plugin 3.6.x and Gradle Wrapper 6.3 are stable.
mpaas_packages.jsonfrom the project.
- If the Gradle plug-in provided by mPaaS has been used before, the related configurations need to be deleted.
classpath 'com.alipay.android:android-gradle-plugin:220.127.116.11.13' // Delete the configuration data in this line
Delete the easyconfig plug-in from
build.gradleunder the app master project root directory .
build.gradlethe following contents in the app module:
apply plugin: 'com.alipay.portal' // Delete this line
Delete the following plug-ins in
build.gradeof each module for the project:
apply plugin: 'com.alipay.apollo.baseline.update'
apply plugin: 'com.alipay.apollo.baseline.config'
- Add components to use in each module.