diff --git a/android/build.gradle b/android/build.gradle index 5dfc225ad..73b7b2f13 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -43,6 +43,11 @@ android { if (agpVersion.tokenize('.')[0].toInteger() >= 7) { namespace "com.horcrux.svg" } + if (agpVersion.tokenize('.')[0].toInteger() >= 8) { + buildFeatures { + buildConfig = true + } + } // Used to override the NDK path/version on internal CI or by allowing // users to customize the NDK path/version from their root project (e.g. for M1 support) if (rootProject.hasProperty("ndkPath")) {