ryanheise / audio_session

MIT License
107 stars 68 forks source link

Execution failed for task ':audio_session:compileDebugJavaWithJavac' #129

Open appu-sm opened 2 months ago

appu-sm commented 2 months ago

While using this plugin in my flutter project i'm getting the error, i have seen somewhere to use compileSdkVersion less than 34, but my project requires version 34, is there a way to overcome this issue

 error: warnings found and -Werror specified

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':audio_session:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

following is my flutter doctor output

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.5, on Ubuntu 22.04.4 LTS 6.5.0-27-generic, locale en_IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (installed)
[✓] VS Code (version 1.88.1)
[✓] Connected device (3 available)
[✓] Network resources