All Products
Search
Document Center

Mobile Platform as a Service:Resolve Alipay SDK conflicts

Last Updated:Jan 27, 2026

Conflict description

Using mPaaS and the Alipay payment SDK together can cause library conflicts.

Solutions

An Alipay payment SDK conflict occurs.

  • If your baseline version is 10.2.3.6 or later, add the following configuration.

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

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