[Android] Set the minimum SDK version to 21 for VLC 4

Steve Lhomme git at videolan.org
Mon Jun 2 07:23:49 UTC 2025


vlc-android | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri May 23 13:34:09 2025 +0200| [c07eabc7e3c8ebb860bf98d2770f871eed4830f9] | committer: Steve Lhomme

Set the minimum SDK version to 21 for VLC 4

The NDK build is targeting 21, not 17.

Co-authored-by: Nicolas Pomepuy <nicolas at videolabs.io>

> https://code.videolan.org/videolan/vlc-android/commit/c07eabc7e3c8ebb860bf98d2770f871eed4830f9
---

 build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index 736b034160..b3377c3928 100644
--- a/build.gradle
+++ b/build.gradle
@@ -49,7 +49,7 @@ ext {
     remoteAccessVersion = '0.6.0'
     libvlcVersion = vlcMajorVersion == 3 ? '3.6.2' :'4.0.0-eap20'
     medialibraryVersion = vlcMajorVersion == 3 ? '0.13.13-rc17' : '0.13.13-vlc4-rc17'
-    minSdkVersion = 17
+    minSdkVersion = vlcMajorVersion == 3 ? 17 : 21
     targetSdkVersion = 34
     compileSdkVersion = 34
     desugarLib = '2.0.4'



More information about the Android mailing list