All Products
Search
Document Center

Mobile Platform as a Service:Solve conflict with dependency on Alipay SDK

Last Updated:Nov 23, 2022

Conflict description

If you are using mPaaS along with the Alipay payment SDK, there may be a library conflict in some cases.

Solution

If you are experiencing an Alipay payment SDK conflict.

  • If your baseline version is 10.2.3.6 and above, please add the following configuration.

    configurations {
     all*.exclude group:"com.mpaas.android.anotations", module:"anotations-build"
    }
  • For other baseline versions, please use the following Deconflict Payments SDK version.

    dependencies {
     ··· 
     implementation 'com.alipay.sdk.android:alipaysdk-mpaas:15.8.03.210526122749'
     ···
    }