Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gangwang2020 opened this issue Apr 25, 2025 · 1 comment

Comments

@gangwang2020
Copy link

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.

@dji-dev
Copy link
Contributor

dji-dev commented Apr 25, 2025

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

°°°

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants