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

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction #251

Closed
davidwinograd1 opened this issue Jan 29, 2024 · 5 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@davidwinograd1
Copy link

davidwinograd1 commented Jan 29, 2024

@tvanlaerhoven @wvanhaevre

Would anyone know what the issue is when I run my theoplayer project in Android Studio?

"react-native-theoplayer": "^3.4.2",

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-theoplayer:compileDebugKotlin'.
    A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
    Compilation error. See log for more details

For additional context, the same issue seems to be happening in another repo as well:
wix/react-native-navigation#7818

@tvanlaerhoven
Copy link
Member

Hey @davidwinograd1 , could you post the full error log here?

@tvanlaerhoven tvanlaerhoven self-assigned this Jan 30, 2024
@tvanlaerhoven tvanlaerhoven added the help wanted Extra attention is needed label Jan 30, 2024
@davidwinograd1
Copy link
Author

davidwinograd1 commented Jan 30, 2024

Screenshot 2024-01-30 at 11 45 35 AM

is this more helpful? @tvanlaerhoven

@tvanlaerhoven
Copy link
Member

@davidwinograd1 , aha it looks like the compiler can't find track parameter in EnterCueEvent and ExitCueEvent` here
https://github.com/THEOplayer/react-native-theoplayer/blob/develop/android/src/main/java/com/theoplayer/PlayerEventEmitter.kt#L440

It looks like you are depending on an older version of the native THEOplayer sdk. Make sure you target at least Android SDK 6.5.0 (https://docs.theoplayer.com/changelog.md#-features-8)

@davidwinograd1
Copy link
Author

worked -- thank you!

@tvanlaerhoven
Copy link
Member

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants