From 91026936cb80c44d7779465d2e3025f13d6c481a Mon Sep 17 00:00:00 2001 From: Thibault Deckers Date: Sun, 16 Jul 2023 11:50:00 +0200 Subject: [PATCH] added namespace for AGP8 compatibility --- flutter/flutter/android/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flutter/flutter/android/build.gradle b/flutter/flutter/android/build.gradle index 7c6b559..5e80b5a 100644 --- a/flutter/flutter/android/build.gradle +++ b/flutter/flutter/android/build.gradle @@ -19,6 +19,11 @@ rootProject.allprojects { apply plugin: 'com.android.library' android { + // Conditional for compatibility with AGP <4.2. + if (project.android.hasProperty("namespace")) { + namespace 'com.arthenica.ffmpegkit.flutter' + } + compileSdkVersion 31 defaultConfig {