All Products
Search
Document Center

Mobile Platform as a Service:Resolve libc++_shared.so dependency conflict

Last Updated:Dec 02, 2025

Confilict statement

Some components of mPaaS depend on libc++_shared.so. If other third-party SDKs you integrate also include this so, conflicts will occur.

Solutions

Removes the built-in libc++_shared.so of mPaaS.

Procedure

  • AAR integration mode

    configurations {
      all*.exclude group:'com.mpaas.commonlib', module: 'libcshared-build'
    }
  • Component-based (Portal & Bundle) integration method

    mpaascomponents {
      excludeDependencies = [
          "com.mpaas.commonlib:libcshared-build"
      ]
    }