Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter run says media_thumbnail-0.0.3/android/src/main/java/com/medinno/media_thumbnail/MediaThumbnailPlugin.java:142: error: unreported exception IOException; must be caught or declared to be thrown retriever.release(); #1

Open
zaid13 opened this issue Jun 16, 2023 · 0 comments

Comments

@zaid13
Copy link

zaid13 commented Jun 16, 2023

/Users/zaid/Development/flutter/.pub-cache/hosted/pub.dartlang.org/media_thumbnail-0.0.3/android/src/main/java/com/medinno/media_thumbnail/MediaThumbnailPlugin.java:142: error: unreported exception IOException; must be caught or declared to be thrown
retriever.release();
^
Note: /Users/zaid/Development/flutter/.pub-cache/hosted/pub.dartlang.org/media_thumbnail-0.0.3/android/src/main/java/com/medinno/media_thumbnail/MediaThumbnailPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':media_thumbnail:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 17s
Exception: Gradle task assembleDebug failed with exit code 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant