Closed kakato10 closed 2 years ago
Would love to hear a resolution on this as well!
fixed in v1.6.0
Still remains compile issues in ANDROID Does not fixed in v1.6.0
Task :react-native-create-thumbnail:compileDebugJavaWithJavac FAILED 518 actionable tasks: 4 executed, 514 up-to-date l/-reactnative-main/node_modules/react-native-create-thumbnail/android/src/main/java/com/createthumbnail/CreateThumbnailModule.java:194: error: exception IOException is never thrown in body of corresponding try statement } catch(IOException e) { ^ Note: /-reactnative-main/node_modules/react-native-create-thumbnail/android/src/main/java/com/createthumbnail/CreateThumbnailModule.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /****-reactnative-main/node_modules/react-native-create-thumbnail/android/src/main/java/com/createthumbnail/CreateThumbnailModule.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
FAILURE: Build failed with an exception.
Compilation failed; see the compiler error output for details.
org
any update over this
try { retriever.release(); } catch (IOException e) { throw new IllegalStateException("File doesn't exist or not supported"); } i got the solution just warp this inside try-catch
try { retriever.release(); } catch (IOException e) { throw new IllegalStateException("File doesn't exist or not supported"); } i got the solution just warp this inside try-catch
@nitishkumar325, This was added in v2.0.0-rc.2
. Please use it if you're on android 13 (SDK v33)
same error yet!!
please provide proper solutions..
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:
react-native-create-thumbnail
build.gradle
:Version
react-native-create-thumbnail
1.5.1Expected Results Successful app build
Actual Result The following compilation error appears: