fix: Use minSdkVersion of 26 again

This commit is contained in:
Marc Rousavy 2023-10-05 10:56:30 +02:00
parent c9795ce767
commit 59699929f4
3 changed files with 4 additions and 4 deletions

View File

@ -82,12 +82,12 @@ If you're experiencing build issues or runtime issues in VisionCamera, make sure
yarn # or `npm i` yarn # or `npm i`
``` ```
4. Make sure you have installed the [Android NDK](https://developer.android.com/ndk). 4. Make sure you have installed the [Android NDK](https://developer.android.com/ndk).
5. Make sure your minimum SDK version is **23 or higher**, and target SDK version is **33 or higher**. See [the example's `build.gradle`](https://github.com/mrousavy/react-native-vision-camera/blob/main/package/example/android/build.gradle#L5-L10) for reference. 5. Make sure your minimum SDK version is **26 or higher**, and target SDK version is **33 or higher**. See [the example's `build.gradle`](https://github.com/mrousavy/react-native-vision-camera/blob/main/package/example/android/build.gradle#L5-L10) for reference.
1. Open your `build.gradle` 1. Open your `build.gradle`
2. Set `buildToolsVersion` to `33.0.0` or higher 2. Set `buildToolsVersion` to `33.0.0` or higher
3. Set `compileSdkVersion` to `33` or higher 3. Set `compileSdkVersion` to `33` or higher
4. Set `targetSdkVersion` to `33` or higher 4. Set `targetSdkVersion` to `33` or higher
5. Set `minSdkVersion` to `23` or higher 5. Set `minSdkVersion` to `26` or higher
6. Set `ndkVersion` to `"23.1.7779620"` or higher 6. Set `ndkVersion` to `"23.1.7779620"` or higher
7. Update the Gradle Build-Tools version to `7.3.1` or higher: 7. Update the Gradle Build-Tools version to `7.3.1` or higher:
``` ```

View File

@ -90,7 +90,7 @@ android {
} }
defaultConfig { defaultConfig {
minSdkVersion safeExtGet('minSdkVersion', 23) minSdkVersion safeExtGet('minSdkVersion', 26)
compileSdkVersion safeExtGet('compileSdkVersion', 33) compileSdkVersion safeExtGet('compileSdkVersion', 33)
targetSdkVersion safeExtGet('targetSdkVersion', 33) targetSdkVersion safeExtGet('targetSdkVersion', 33)
versionCode 1 versionCode 1

View File

@ -3,7 +3,7 @@
buildscript { buildscript {
ext { ext {
buildToolsVersion = "33.0.0" buildToolsVersion = "33.0.0"
minSdkVersion = 23 minSdkVersion = 26
compileSdkVersion = 33 compileSdkVersion = 33
targetSdkVersion = 33 targetSdkVersion = 33
ndkVersion = "23.1.7779620" ndkVersion = "23.1.7779620"