I keep getting build error and here's the error log: Error: Command failed: flutter build apk --no-pub --no-version-check
e: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
e: /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
e: /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/META-INF/kotlin-stdlib-jdk8.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
e: /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (46, 22): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (48, 23): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (50, 13): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (52, 24): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (54, 24): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (60, 9): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (64, 9): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (68, 9): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (69, 17): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (73, 9): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (74, 17): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (78, 9): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (85, 14): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (86, 9): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (87, 9): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (87, 47): Type mismatch: inferred type is String but Nothing was expected
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (89, 22): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (92, 9): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (99, 9): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (107, 9): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (124, 25): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (126, 17): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (138, 29): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (145, 41): Class 'kotlin.collections.ShortIterator' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/collections/ShortIterator.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (149, 37): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (152, 29): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (153, 29): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
e: /opt/.pub-cache/hosted/pub.dev/audio_streamer-4.1.1/android/src/main/kotlin/plugins/cachet/audio_streamer/AudioStreamerPlugin.kt: (155, 11): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.9.0, expected version is 1.7.1.
The class is loaded from /opt/.gradle/caches/transforms-3/2fb328dddb0522e22585471f6a4978d6/transformed/jetified-kotlin-stdlib-1.9.22.jar!/kotlin/Unit.class
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':audio_streamer:compileReleaseKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more 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.
* Get more help at https://help.gradle.org
BUILD FAILED in 2m 50s
Gradle task assembleRelease failed with exit code 1