FlutterChatBubble icon indicating copy to clipboard operation
FlutterChatBubble copied to clipboard

App failed to run

Open Harishwarrior opened this issue 4 years ago • 0 comments

e: Incompatible classes were found in dependencies. Remove them from the classpath or use '-Xskip-metadata-version-check' to suppress errors
e: C:/Users/warri/.gradle/caches/transforms-2/files-2.1/26e0b5b40a84f28e88eee826fbc5a3fd/jetified-kotlin-stdlib-common-1.5.31.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.5.1, expected version is 1.1.15.
e: C:/Users/warri/.gradle/caches/transforms-2/files-2.1/4c2b193a951d6e15e541ee56ac7c1697/jetified-kotlin-stdlib-jdk8-1.5.30.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.5.1, expected version is 1.1.15.
e: C:/Users/warri/.gradle/caches/transforms-2/files-2.1/6bf9c8ffcd765ca83a136d7d1cb538ab/jetified-window-java-1.0.0-beta04-api.jar!/META-INF/window-java_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
e: C:/Users/warri/.gradle/caches/transforms-2/files-2.1/71ec150fc3b9c600cd1ffa3ae9301577/jetified-window-1.0.0-beta04-api.jar!/META-INF/window_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
e: C:/Users/warri/.gradle/caches/transforms-2/files-2.1/8943ee2afb7e1e5f2cce910f9dce1ad3/jetified-kotlin-stdlib-jdk7-1.5.30.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.5.1, expected version is 1.1.15.
e: C:/Users/warri/.gradle/caches/transforms-2/files-2.1/a53aedf797facd7411894c4d7d035f35/jetified-kotlin-stdlib-1.5.31.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
e: C:/Users/warri/.gradle/caches/transforms-2/files-2.1/d549174de70276ff392563402f7c1ecb/jetified-kotlinx-coroutines-android-1.5.2.jar!/META-INF/kotlinx-coroutines-android.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
e: C:/Users/warri/.gradle/caches/transforms-2/files-2.1/f42e13d8e16c5d1579917593209431d7/jetified-kotlinx-coroutines-core-jvm-1.5.2.jar!/META-INF/kotlinx-coroutines-core.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_chat_bubble-2.0.0\android\src\main\kotlin\chat\com\flutter_chat_bubble\FlutterChatBubblePlugin.kt: (15, 13): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
The class is loaded from C:/Users/warri/.gradle/caches/transforms-2/files-2.1/a53aedf797facd7411894c4d7d035f35/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_chat_bubble-2.0.0\android\src\main\kotlin\chat\com\flutter_chat_bubble\FlutterChatBubblePlugin.kt: (28, 6): Class 'kotlin.jvm.JvmStatic' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
The class is loaded from C:/Users/warri/.gradle/caches/transforms-2/files-2.1/a53aedf797facd7411894c4d7d035f35/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/jvm/JvmStatic.class
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_chat_bubble-2.0.0\android\src\main\kotlin\chat\com\flutter_chat_bubble\FlutterChatBubblePlugin.kt: (31, 15): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
The class is loaded from C:/Users/warri/.gradle/caches/transforms-2/files-2.1/a53aedf797facd7411894c4d7d035f35/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_chat_bubble-2.0.0\android\src\main\kotlin\chat\com\flutter_chat_bubble\FlutterChatBubblePlugin.kt: (36, 5): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
The class is loaded from C:/Users/warri/.gradle/caches/transforms-2/files-2.1/a53aedf797facd7411894c4d7d035f35/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_chat_bubble-2.0.0\android\src\main\kotlin\chat\com\flutter_chat_bubble\FlutterChatBubblePlugin.kt: (37, 14): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
The class is loaded from C:/Users/warri/.gradle/caches/transforms-2/files-2.1/a53aedf797facd7411894c4d7d035f35/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class
e: C:\src\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_chat_bubble-2.0.0\android\src\main\kotlin\chat\com\flutter_chat_bubble\FlutterChatBubblePlugin.kt: (39, 14): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
The class is loaded from C:/Users/warri/.gradle/caches/transforms-2/files-2.1/a53aedf797facd7411894c4d7d035f35/jetified-kotlin-stdlib-1.5.31.jar!/kotlin/Unit.class

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':flutter_chat_bubble:compileDebugKotlin'.
> 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 25s

┌─ Flutter Fix ────────────────────────────────────────────────────────────────────────────────┐
│ [!] Your project requires a newer version of the Kotlin Gradle plugin.                       │
│ Find the latest version on https://kotlinlang.org/docs/gradle.html#plugin-and-versions, then │
│ update C:\Users\warri\StudioProjects\service_request\android\build.gradle:                   │
│ ext.kotlin_version = '<latest-version>'                                                      │
└──────────────────────────────────────────────────────────────────────────────────────────────┘
Exception: Gradle task assembleDebug failed with exit code 1

My app failed to run after upgrading to Flutter 2.10. I think it's an issue with kotlin version in you package

Harishwarrior avatar Feb 04 '22 06:02 Harishwarrior