Conflict description
mPaaS uses fastjson for JSON parsing, if you also use fastjson in your project, there will be a fastjson conflict.
Solution
Remove fastjson-build from mPaaS.
Procedure
Confirm the current version of fastjson used by mPaaS.
'com.alibaba:fastjson:1.x.x.android@jar'
Get the
group:artifact
information for the third-party SDK used by mPaaS.'com.alipay.android.phone.thirdparty:fastjson-build'
Remove the mPaaS library.
AAR method
If you are accessing mPaaS by a native AAR, there is no need to actively remove it, and dependency passing of gradle will automatically use a later version. The version chosen for use by mPaaS is highly stable and secure, and we recommend you to use the version provided by mPaaS. If versions are inconsistent, please test the mPaaS function before its launch to ensure stability.
Portal & Bundle
mpaascomponents { excludeDependencies = [ "com.alipay.android.phone.thirdparty:fastjson-build" ] }