From 5bbe2bfbab9a5715c86e1a5924737fd4d22b0ebc Mon Sep 17 00:00:00 2001 From: Daniel <1732408+chiubaka@users.noreply.github.com> Date: Thu, 30 Dec 2021 18:39:38 +0800 Subject: [PATCH] docs: Update compileSdkVersion and targetSdkVersion (#585) SDK version 31 required after 8d24e344c9252a6a500e5f63a39539e0ff24fa11 --- docs/docs/guides/TROUBLESHOOTING.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/guides/TROUBLESHOOTING.mdx b/docs/docs/guides/TROUBLESHOOTING.mdx index a378a49..99f8221 100644 --- a/docs/docs/guides/TROUBLESHOOTING.mdx +++ b/docs/docs/guides/TROUBLESHOOTING.mdx @@ -52,8 +52,8 @@ Before opening an issue, make sure you try the following: 4. Make sure your minimum SDK version is **21 or higher**, and target SDK version is **30 or higher**. See [the example's `build.gradle`](https://github.com/mrousavy/react-native-vision-camera/blob/main/example/android/build.gradle#L5-L10) for reference. 1. Open your `build.gradle` 2. Set `buildToolsVersion` to `30.0.0` or higher - 3. Set `compileSdkVersion` to `30` or higher - 4. Set `targetSdkVersion` to `30` or higher + 3. Set `compileSdkVersion` to `31` or higher + 4. Set `targetSdkVersion` to `31` or higher 5. Set `minSdkVersion` to `21` or higher 6. Set `ndkVersion` to `"20.1.5948944"` or higher 7. Update the Gradle Build-Tools version to `4.1.2` or higher: