diff --git a/android/build.gradle b/android/build.gradle index 5f346e6..4bcebea 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -28,6 +28,10 @@ android { lintOptions { abortOnError false } + def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION + if (agpVersion.tokenize('.')[0].toInteger() >= 7) { + namespace "com.facebook.reactnative.androidsdk" + } } repositories {