All Products
Document Center

Upgrade Inside access mode to AAR access mode

Last Updated: Jan 12, 2022


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.

  1. Delete mpaas_packages.json from the project.
  2. If the Gradle plug-in provided by mPaaS has been used before, the related configurations need to be deleted.
    classpath '' // Delete the configuration data in this line
  3. In the build.gradle under the project root directory, add the following code to the header.
    apply plugin: ''
  4. Delete the easyconfig plug-in from build.gradle under the app master project root directory .

    classpath ''
  5. Delete build.gradle the following contents in the app module:

    apply plugin: '' // Delete this line
  6. Delete the following plug-ins in build.grade of each module for the project:

    apply plugin: ''


    apply plugin: ''

    Uses AAR access

  7. Add mPaaS SDK to the project.

  8. Add components to use in each module.