Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution failed for task ':flutter_datawedge:compileDebugKotlin'. #54

Open
welcome14 opened this issue Apr 23, 2024 · 4 comments
Open

Comments

@welcome14
Copy link

Hi, i have this issue when i run the debug mode

`* What went wrong:
Execution failed for task ':flutter_datawedge: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.

BUILD FAILED in 1m 46s`

how i resolve it ?

@t-unit
Copy link
Collaborator

t-unit commented Apr 24, 2024

@welcome14 can you please provide us with more information.

  1. What version of this library are you using?
  2. What is your gradle setup inside your project? Especially, what Kotlin version is setup in your project?
  3. Please provide debug logs, as just your posted message does not contain any useful content.

@welcome14
Copy link
Author

androidGradlePluginVersion=7.3.0

plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.3.0" apply false
id "org.jetbrains.kotlin.android" version "1.7.10" apply false
}
I have installed the latest versione of this library.

@welcome14
Copy link
Author

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.

@t-unit
Copy link
Collaborator

t-unit commented Apr 24, 2024

@welcome14 can you try updating your app to gradle 8 and kotlin 1.9. You can have a look at our example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants