From e51553402360734ce9d6379c14da95a114933d9d Mon Sep 17 00:00:00 2001 From: Alexander Capehart Date: Sun, 19 Feb 2023 12:02:01 -0700 Subject: [PATCH] deps: fix stripping of ffmpeg extension Fix an issue where stripping of the FFMpeg extension would not occur, as AGP would try to default to an entirely different NDK version. Eventually I'm considering just vendoring the FFMpeg extension outright once I can upstream some of the ExoPlayer patches. --- app/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 809d26bde..5b975f7fb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,6 +10,11 @@ plugins { android { compileSdk 33 + // NDK is not used in Auxio explicitly (used in the ffmpeg extension), but we need to specify + // it here so that binary stripping will work. + // TODO: Eventually you might just want to start vendoring the FFMpeg extension so the + // NDK use is unified + ndkVersion = "23.2.8568313" namespace "org.oxycblt.auxio" defaultConfig {