react-native-create-thumbnail
react-native-create-thumbnail copied to clipboard
Unable to compile for Android 13 (Android SDK v.33)
Describe the bug
Unable to compile react-native-create-thumbnail for Android SDK v.33 Tiramisu (Android 13).
To Reproduce Steps to reproduce the behaviour:
- Create a React Native project
- Add
react-native-create-thumbnail - Ensure Gradle JDK 11 and Android SDK 33 are installed on the machine that's gonna be used for the build
- Trigger app build with the following settings in
build.gradle:
compileSdkVersion = 33
targetSdkVersion = 33
Version
react-native-create-thumbnail 1.5.1
Expected Results Successful app build
Actual Result The following compilation error appears:
<project-path>/node_modules/react-native-create-thumbnail/android/src/main/java/com/createthumbnail/CreateThumbnailModule.java:192: error: unreported exception IOException; must be caught or declared to be thrown
retriever.release();
^