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_unity_widget:compileDebugKotlin'. > A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction #987

Open
aryamanpathak2022 opened this issue Oct 17, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@aryamanpathak2022
Copy link

Describe the bug
While building the flutter project, I got this error which states two same JVM signature (getLifecycle()) exist

Screenshots
image

Unity (please complete the following information):

  • OS: Android
  • Version 2022.3
@timbotimbo
Copy link
Collaborator

Switching to Flutter 3.24 introduces kotlin compilation errors related to Lifecycle.
Although a different error message, I believe this is the same issue and you should try the fix from the link above.
Import an updated plugin by the git url:

pubspec.yaml

flutter_unity_widget:
    git:
      url: https://github.com/juicycleff/flutter-unity-view-widget.git
      ref: master # branch name 

@timbotimbo timbotimbo added the duplicate This issue or pull request already exists label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants