Conflict description
mPaaS uses fastjson to parse JSON data. If your project also uses fastjson, a dependency conflict will occur.
Solution
Remove fastjson-build from mPaaS.
Procedure
Confirm the fastjson version that mPaaS uses.
'com.alibaba:fastjson:1.x.x.android@jar'Obtain the
group:artifactinformation of the third-party software development kit (SDK) that mPaaS uses.'com.alipay.android.phone.thirdparty:fastjson-build'Remove the mPaaS library.
AAR method: If you integrate mPaaS using the native Android Archive (AAR) method, you do not need to remove the library. Gradle automatically uses the higher version due to dependency transitivity. The version provided by mPaaS is highly stable and secure. We recommend that you use the mPaaS version. If the versions differ, you must test the mPaaS features to ensure stability before you release your application.
Component-based (Portal & Bundle)
mpaascomponents { excludeDependencies = [ "com.alipay.android.phone.thirdparty:fastjson-build" ] }