fix: Set minSdkVersion
to 23 (#1911)
* fix: Set `minSdkVersion` to 21 * sorry I meant 23
This commit is contained in:
parent
8d90dcc476
commit
324e269173
@ -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 **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.
|
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.
|
||||||
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 `26` or higher
|
5. Set `minSdkVersion` to `23` 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:
|
||||||
```
|
```
|
||||||
|
@ -90,7 +90,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion safeExtGet('minSdkVersion', 26)
|
minSdkVersion safeExtGet('minSdkVersion', 23)
|
||||||
compileSdkVersion safeExtGet('compileSdkVersion', 33)
|
compileSdkVersion safeExtGet('compileSdkVersion', 33)
|
||||||
targetSdkVersion safeExtGet('targetSdkVersion', 33)
|
targetSdkVersion safeExtGet('targetSdkVersion', 33)
|
||||||
versionCode 1
|
versionCode 1
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
buildscript {
|
buildscript {
|
||||||
ext {
|
ext {
|
||||||
buildToolsVersion = "33.0.0"
|
buildToolsVersion = "33.0.0"
|
||||||
minSdkVersion = 26
|
minSdkVersion = 23
|
||||||
compileSdkVersion = 33
|
compileSdkVersion = 33
|
||||||
targetSdkVersion = 33
|
targetSdkVersion = 33
|
||||||
ndkVersion = "23.1.7779620"
|
ndkVersion = "23.1.7779620"
|
||||||
|
Loading…
Reference in New Issue
Block a user