diff --git a/android/build.gradle b/android/build.gradle index 5b21cd59c..2e197635a 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -20,6 +20,11 @@ buildscript { apply plugin: 'com.android.library' android { + def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION + if (agpVersion.tokenize('.')[0].toInteger() >= 7) { + namespace "com.dylanvann.fastimage" + } + compileSdkVersion safeExtGet('compileSdkVersion', 28) buildToolsVersion safeExtGet('buildToolsVersion', '28.0.3') defaultConfig {