react-native-create-thumbnail icon indicating copy to clipboard operation
react-native-create-thumbnail copied to clipboard

Unable to compile for Android 13 (Android SDK v.33)

Open kakato10 opened this issue 3 years ago • 0 comments

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:

  1. Create a React Native project
  2. Add react-native-create-thumbnail
  3. Ensure Gradle JDK 11 and Android SDK 33 are installed on the machine that's gonna be used for the build
  4. 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();
                         ^

kakato10 avatar Aug 05 '22 09:08 kakato10