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

JVM Default issue #21

Open
hussein-yassine opened this issue Nov 12, 2021 · 2 comments
Open

JVM Default issue #21

hussein-yassine opened this issue Nov 12, 2021 · 2 comments

Comments

@hussein-yassine
Copy link

I'm receiving the following error on the youtube_overlay.performListener

Inheritance from an interface with '@JvmDefault' members is only allowed with -Xjvm-default option

@cryinrain69
Copy link

cryinrain69 commented Nov 12, 2021

I also had the same problem.

Untitled

@GustavoZQ
Copy link

Este problema se arregla por el compilador se debe agregar la siguiente linea de codigo en kotlinOptions
freeCompilerArgs = ['-Xjvm-default=compatibility']
Quedando de la siguiente manera
kotlinOptions { jvmTarget = '1.8' freeCompilerArgs = ['-Xjvm-default=compatibility'] }

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

No branches or pull requests

3 participants