When I try to build my Flutter application get the following error:
Launching lib/host/main.dart on sdk gphone64 arm64 in debug mode...
Running Gradle task 'assembleDebug'...
e: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
e: /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.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: /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.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: /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.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: /Users/roygroothulze/.gradle/caches/transforms-3/ffa7656cc9dfa379ef973b2265defda8/transformed/jetified-kotlin-stdlib-common-1.9.10.jar!/META-INF/kotlin-stdlib-common.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: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (27, 32): Class 'kotlin.coroutines.CoroutineContext' 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/coroutines/CoroutineContext.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (30, 5): 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (31, 5): 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (32, 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (36, 5): 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (37, 7): 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (38, 12): 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (39, 7): 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (40, 12): 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (42, 7): 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (43, 12): 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (44, 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (45, 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (46, 12): 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (47, 7): 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (49, 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (54, 20): Class 'kotlin.coroutines.CoroutineContext' 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/coroutines/CoroutineContext.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (55, 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (56, 7): 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (56, 7): Class 'kotlin.coroutines.CoroutineContext' 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/coroutines/CoroutineContext.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (57, 16): 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (66, 20): Class 'kotlin.coroutines.CoroutineContext' 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/coroutines/CoroutineContext.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (67, 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (68, 7): 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (68, 7): Class 'kotlin.coroutines.CoroutineContext' 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/coroutines/CoroutineContext.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (69, 16): 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (83, 22): Class 'kotlin.coroutines.CoroutineContext' 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/coroutines/CoroutineContext.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (84, 26): 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (84, 74): Unresolved reference: orEmpty
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (86, 9): Class 'kotlin.coroutines.CoroutineContext' 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/coroutines/CoroutineContext.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (87, 18): 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (95, 5): 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (98, 29): Type mismatch: inferred type is String but Nothing was expected
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (100, 16): 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (105, 34): Type mismatch: inferred type is String but Nothing was expected
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (106, 35): Type mismatch: inferred type is String but Nothing was expected
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (107, 29): Type mismatch: inferred type is String but Nothing was expected
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (108, 32): Type mismatch: inferred type is String but Nothing was expected
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (115, 20): Unresolved reference: listOf
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (117, 19): Unresolved reference: let
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (118, 25): Unresolved reference: it
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (120, 20): Unresolved reference: let
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (121, 29): Unresolved reference: it
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (123, 14): Unresolved reference: let
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (124, 31): Unresolved reference: it
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (126, 17): Unresolved reference: let
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (127, 26): Unresolved reference: it
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (132, 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (134, 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
e: /Users/roygroothulze/.pub-cache/hosted/pub.dev/telemetrydecksdk-0.4.0/android/src/main/kotlin/com/telemetrydeck/telemetrydecksdk/TelemetrydecksdkPlugin.kt: (139, 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 /Users/roygroothulze/.gradle/caches/transforms-3/f23e86226710681f60594812ddc3fe6d/transformed/jetified-kotlin-stdlib-1.9.10.jar!/kotlin/Unit.class
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':telemetrydecksdk:compileDebugKotlin'.
> 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 5s
┌─ Flutter Fix ──────────────────────────────────────────────────────────────────────────────┐
│ [!] Your project requires a newer version of the Kotlin Gradle plugin. │
│ Find the latest version on https://kotlinlang.org/docs/releases.html#release-details, then │
│ update /Volumes/FileContainer/Softwareprojecten/bookgrinder/android/build.gradle: │
│ ext.kotlin_version = '<latest-version>' │
└────────────────────────────────────────────────────────────────────────────────────────────┘
Error: Gradle task assembleDebug failed with exit code 1
When I remove the TelementryDesk SDK the issue is gone. After adding it again the issue is back
Hi @roygroothulze, could you please try updating the Kotlin version in your project as indicated by the message and set it to ext.kotlin_version = '1.9.25'
When I try to build my Flutter application get the following error:
When I remove the TelementryDesk SDK the issue is gone. After adding it again the issue is back