diff --git a/docs/docs/TROUBLESHOOTING.mdx b/docs/docs/TROUBLESHOOTING.mdx index d712f69..5e319e8 100644 --- a/docs/docs/TROUBLESHOOTING.mdx +++ b/docs/docs/TROUBLESHOOTING.mdx @@ -38,9 +38,14 @@ Before opening an issue, make sure you try the following: ## Android 1. 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. -2. If you're experiencing weird behaviour, check the logs in Android Studio/Logcat ( + 6) to find out more. -3. If a camera device is not being returned by `getAvailableCameraDevices()`, make sure it meets the minimum requirements - that is minum supported harwdware level of `LIMITED` and above. See [this section in the Android docs](https://developer.android.com/reference/android/hardware/camera2/CameraDevice) for more information. +2. Make sure your SDK version is **30** or higher. See [the example's `build.gradle`](https://github.com/cuvent/react-native-vision-camera/blob/main/example/android/build.gradle#L5-L9) 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. If you're experiencing weird behaviour, check the logs in Android Studio/Logcat ( + 6) to find out more. +4. If a camera device is not being returned by `getAvailableCameraDevices()`, make sure it meets the minimum requirements - that is minum supported harwdware level of `LIMITED` and above. See [this section in the Android docs](https://developer.android.com/reference/android/hardware/camera2/CameraDevice) for more information. ## Issues -If nothing has helped so far, try browsing the [GitHub issues](https://github.com/cuvent/react-native-vision-camera/issues?q=is%3Aissue). If your issue doesn't exist, [create a new one](https://github.com/cuvent/react-native-vision-camera/issues/new/choose). Make sure to fill out the template and include as many details as possible. +If nothing has helped so far, try browsing the [GitHub issues](https://github.com/cuvent/react-native-vision-camera/issues?q=is%3Aissue). If your issue doesn't exist, [create a new one](https://github.com/cuvent/react-native-vision-camera/issues/new/choose). Make sure to fill out the template and include as many details as possible. Also try to reproduce the issue in the [example app](https://github.com/cuvent/react-native-vision-camera/blob/main/example).