All Products
Document Center

Solve conflict with dependency on Amap location

Last Updated: Sep 23, 2021

Conflict description

mPaaS is built with the AMAP Positioning SDK. If your app needs to be launched in Google Play Store and also integrates with the official version of the SDK provided by AMAP that can be approved by Google, there will be a conflict with AMAP Positioning.


Remove the built-in AMAP Map SDK from mPaaS.


  1. Confirm the version of the AMAP Positioning SDK used by mPaaS so that you can select the same or a similarly reviewed and approved version.

    1. ''
    2. ''
  2. Get the group:artifact information for the AMAP Positioning SDK used by mPaaS.

    1. ''
  3. Remove the AMAP Positioning SDK from mPaaS.

    • AAR method

      1. configurations {
      2. all*.exclude group:'', module: 'amap-build'
      3. }
    • mPaaS Inside and Portal & Bundle

      1. mpaascomponents {
      2. excludeDependencies = [
      3. ""
      4. ]
      5. }