diff --git a/RNTester/android/app/build.gradle b/RNTester/android/app/build.gradle index 0a36475ade519b..77700609599771 100644 --- a/RNTester/android/app/build.gradle +++ b/RNTester/android/app/build.gradle @@ -121,7 +121,7 @@ android { defaultConfig { applicationId "com.facebook.react.uiapp" - minSdkVersion 18 + minSdkVersion 19 targetSdkVersion 29 versionCode 1 versionName "1.0" diff --git a/ReactAndroid/build.gradle b/ReactAndroid/build.gradle index 23d9fd5912bc9a..c2a172a72a4ad2 100644 --- a/ReactAndroid/build.gradle +++ b/ReactAndroid/build.gradle @@ -166,7 +166,7 @@ task prepareJSC { def jscPackagePath = findNodeModulePath(projectDir, "jsc-android") if (!jscPackagePath) { throw new GradleScriptException("Could not find the jsc-android npm package", null) - } + } def jscDist = file("$jscPackagePath/dist") if (!jscDist.exists()) { @@ -223,7 +223,7 @@ task downloadNdkBuildDependencies { def findNodeModulePath(baseDir, packageName) { def basePath = baseDir.toPath().normalize() // Node's module resolution algorithm searches up to the root directory, - // after which the base path will be null + // after which the base path will be null while (basePath) { def candidatePath = Paths.get(basePath.toString(), "node_modules", packageName) if (candidatePath.toFile().exists()) { @@ -382,7 +382,7 @@ android { } defaultConfig { - minSdkVersion(16) + minSdkVersion(19) targetSdkVersion(28) versionCode(1) versionName("1.0")