docs: Update compileSdkVersion and targetSdkVersion (#585)

SDK version 31 required after 8d24e344c9
This commit is contained in:
Daniel 2021-12-30 18:39:38 +08:00 committed by GitHub
parent 68707322fe
commit 5bbe2bfbab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: