FFmpeg-Android
FFmpeg-Android copied to clipboard
Can I use multiple aaptOptions to exclude both ffprobe and x86 arch at once?
I am including this library in my project and I am trying to use multiple aaptOptions to exclude ffprobe and x86 code completely but when I am building the apk file I am getting ffprobe included in armv7 assets folder. Is there any way to exclude both, ffprobe and x86, all at the same time?
You can exclude both at build time by adding the following in you app level build.gradle
:
android {
...
aaptOptions {
ignoreAssetsPattern "!*ffprobe"
ignoreAssetsPattern "!x86"
}
}
The code may need to be changed like this to take effect
android {
...
aaptOptions {
ignoreAssetsPattern "!*ffprobe:!x86"
}
}
@panjianghao Yes, you are right, well spotted.
@kartikj07 This issue can be closed.