From 695ec13d29b036ecde9e354626098a31470f25d1 Mon Sep 17 00:00:00 2001 From: Ariel Gentile Date: Wed, 22 Apr 2026 12:05:02 -0300 Subject: [PATCH] fix(android): AGP 8 and RN 0.71+ gradle compatibility - Rename deprecated 'lintOptions' block to 'lint' for AGP 8+. - Switch dependency from 'com.facebook.react:react-native' to 'com.facebook.react:react-android', which is the artifact name used by React Native 0.71 and newer. --- android/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index fe1d1c8..e4aa307 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -55,7 +55,7 @@ android { versionCode 1 versionName "1.0" } - lintOptions { + lint { abortOnError false } } @@ -77,7 +77,7 @@ repositories { dependencies { //noinspection GradleDynamicVersion - implementation 'com.facebook.react:react-native:+' // From node_modules + implementation 'com.facebook.react:react-android:+' // From node_modules implementation 'commons-io:commons-io:2.8.0' }