All Products
Search
Document Center

Mobile Platform as a Service:Resolve Alipay SDK conflicts

Last Updated:Jun 16, 2026

Conflict description

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

Solutions

If you encounter an Alipay payment SDK conflict, use one of the following solutions.

  • 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'
     ···
    }