Mobile-SDK-Android-V5 icon indicating copy to clipboard operation
Mobile-SDK-Android-V5 copied to clipboard

Can we remove Agora related library, we do not need it for live stream

Open gangwang2020 opened this issue 8 months ago • 1 comments

Hi, We noticed the MSDK V5 includes agora related library, can you provide a method to remove it if some developers does not use it actually , and this also increases apk size.

Thanks.

gangwang2020 avatar Apr 25 '25 00:04 gangwang2020

Agent comment from YIGUI LIU in Zendesk ticket #140959:

Dear Developer,

We're very sorry that currently the MSDK doesn't offer a direct method to remove the Agora-related library.

There's a method for reference only, which is to avoid importing specific modules in the following way. You can check which specific modules are involved through the Maven repository: https://mvnrepository.com/artifact/com.dji/dji-sdk-v5-aircraft/5.14.0

implementation ('com.example:library-a:1.0.0') {  exclude group: 'com.unwanted', module: 'library-b' }

As for other methods to avoid including specific .so files during the compilation process, you'll need to conduct your own research.

Best Regards, DJI Innovations SDK Technical Support Team

°°°

dji-dev avatar Apr 25 '25 07:04 dji-dev