Skip to content

Found > Task :ext_video_player:compileDebugJavaWithJavac FAILED when build apk #26

@jenchote

Description

@jenchote

after i would like build apk in android studio in the android folder
then it failed and said

Task :ext_video_player:compileDebugJavaWithJavac FAILED
/Users/Admin/.gradle/caches/transforms-2/files-2.1/82bf7b5f348a7a4ec0ddae5706ada0eb/jetified-exoplayer-common-2.12.1-api.jar(com/google/android/exoplayer2/util/Util.class): warning: Cannot find annotation method 'value()' in type 'EnsuresNonNull': class file for org.checkerframework.checker.nullness.qual.EnsuresNonNull not found
/Users/Admin/.gradle/caches/transforms-2/files-2.1/82bf7b5f348a7a4ec0ddae5706ada0eb/jetified-exoplayer-common-2.12.1-api.jar(com/google/android/exoplayer2/util/Util.class): warning: Cannot find annotation method 'value()' in type 'EnsuresNonNull'
error: warnings found and -Werror specified
1 error
2 warnings

ext_video_player: ^0.0.6

please guide me solution
Thanks

flutter doctor
[✓] Flutter (Channel stable, 2.0.1, on macOS 11.1 20C69 darwin-x64, locale en-TH)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[!] Xcode - develop for iOS and macOS
! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.54.1)
[✓] Connected device (2 available)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions