What went wrong:
Execution failed for task ':assets_audio_player_web:compileDebugJavaWithJavac'.
java.lang.IllegalAccessError: class org.gradle.internal.compiler.java.ClassNameCollector (in unnamed module @0x29b543b5) cannot access class com.sun.tools.javac.code.Symbol$TypeSymbol (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.code to unnamed module @0x29b543b5
Flutter Version
My version : Flutter (Channel stable, 2.10.0, on macOS 12.1 21C52 darwin-arm)
Lib Version
My version : assets_audio_player: ^3.0.4+1
Platform (Android / iOS / web) + version Android Gradle 4.1.0 kotlin_version = '1.6.10'
Platform :
Describe the bug
Can't run app on Android.
Error
FAILURE: Build failed with an exception.