From a7b598721c753b60044a31c1c38a8c390cd5ed3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A0nh=20C=C3=B4ng?= Date: Tue, 5 Aug 2025 15:20:18 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Check=20if=20a=20path(bas?= =?UTF-8?q?ePath)=20exists=20on=20Android,=20RN=20>=3D=200.80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Because RN >= 0.80 has extracted the example out of the core --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 6e40322..84c7dbf 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -93,7 +93,7 @@ if(!found){ // after which the base path will be null while (basePath) { nodeModulesDir = Paths.get(basePath.toString(), "node_modules") - reactNativeDir = Paths.get(nodeModulesDir.toString(), "react-native/android") + reactNativeDir = Paths.get(nodeModulesDir.toString(), "react-native/ReactAndroid") if (nodeModulesDir.toFile().exists() && reactNativeDir.toFile().exists()) { found = true break;