Update TROUBLESHOOTING.mdx
This commit is contained in:
parent
63cc806bd6
commit
5b75ce0dfb
@ -16,7 +16,8 @@ Before opening an issue, make sure you try the following:
|
||||
|
||||
1. Try cleaning and rebuilding **everything**:
|
||||
```sh
|
||||
rm -rf package-lock.json && rm -rf yarn.lock && rm -rf node_modules && rm -rf ios/Podfile.lock && rm -rf ios/Pods
|
||||
rm -rf package-lock.json && rm -rf yarn.lock && rm -rf node_modules
|
||||
rm -rf ios/Podfile.lock && rm -rf ios/Pods
|
||||
npm i # or "yarn"
|
||||
cd ios && pod repo update && pod update && pod install
|
||||
```
|
||||
@ -46,7 +47,8 @@ Before opening an issue, make sure you try the following:
|
||||
npm i # or "yarn"
|
||||
```
|
||||
2. Since the Android implementation uses the not-yet fully stable **CameraX** API, make sure you've browsed the [CameraX issue tracker](https://issuetracker.google.com/issues?q=componentid:618491%20status:open) to find out if your issue is a limitation by the **CameraX** library even I cannot get around.
|
||||
3. 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.
|
||||
3. Make sure you have installed the [Android NDK](https://developer.android.com/ndk).
|
||||
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
|
||||
@ -57,7 +59,7 @@ Before opening an issue, make sure you try the following:
|
||||
```
|
||||
classpath("com.android.tools.build:gradle:4.1.2")
|
||||
```
|
||||
4. Make sure your Gradle Wrapper version is 6.5 or higher. In `gradle-wrapper.properties`, set:
|
||||
4. Make sure your Gradle Wrapper version is `6.5` or higher. In `gradle-wrapper.properties`, set:
|
||||
```
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user