diff --git a/docs/docs/guides/TROUBLESHOOTING.mdx b/docs/docs/guides/TROUBLESHOOTING.mdx index 5473e27..edb2cd7 100644 --- a/docs/docs/guides/TROUBLESHOOTING.mdx +++ b/docs/docs/guides/TROUBLESHOOTING.mdx @@ -82,12 +82,12 @@ If you're experiencing build issues or runtime issues in VisionCamera, make sure yarn # or `npm i` ``` 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` 2. Set `buildToolsVersion` to `33.0.0` or higher 3. Set `compileSdkVersion` 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 7. Update the Gradle Build-Tools version to `7.3.1` or higher: ``` diff --git a/package/android/build.gradle b/package/android/build.gradle index 7aeb70d..c883b95 100644 --- a/package/android/build.gradle +++ b/package/android/build.gradle @@ -90,7 +90,7 @@ android { } defaultConfig { - minSdkVersion safeExtGet('minSdkVersion', 26) + minSdkVersion safeExtGet('minSdkVersion', 23) compileSdkVersion safeExtGet('compileSdkVersion', 33) targetSdkVersion safeExtGet('targetSdkVersion', 33) versionCode 1 diff --git a/package/example/android/build.gradle b/package/example/android/build.gradle index 2f7dbfb..ea8d239 100644 --- a/package/example/android/build.gradle +++ b/package/example/android/build.gradle @@ -3,7 +3,7 @@ buildscript { ext { buildToolsVersion = "33.0.0" - minSdkVersion = 26 + minSdkVersion = 23 compileSdkVersion = 33 targetSdkVersion = 33 ndkVersion = "23.1.7779620"