Skip to content
  • There are no suggestions because the search field is empty.

How to strip debug symbols on Android?

To remove debug symbols on Android, use the python script `sdk_repacking.py`. It comes with every Banuba package. 

python3 sdk_repacking.py --config=path/to/config.json --android=path/to/android/sdk -o=path/to/output/folder

`--config` - the path to configuration file with the description of Banuba SDK files defined by the client token. All other resources will be deleted.
`--android` - BNBEffectPlayer for Android folder location.
`-o` - an output folder location used to store the repacked SDK. If `-o` flag is missing the script will repack original files to the folders provided by `--ios`/`--android` flags.

Important: output folder must be outside the BNBEffectPlayer folder.

If the task ':ap:stripReleaseDebugSymbols' fails, this could be caused by a bug in some versions of NDK. Update it to the latest version to solve the issue.