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 ':receive_sharing_intent:compileDebugKotlin #332

Open
saurabhwadekar opened this issue Oct 27, 2024 · 3 comments

Comments

@saurabhwadekar
Copy link

saurabhwadekar commented Oct 27, 2024

i have this error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':receive_sharing_intent:compileDebugKotlin'.
> Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (1.8) and 'compileDebugKotlin' (21).

  Consider using JVM Toolchain: https://kotl.in/gradle/jvm/toolchain
  Learn more about JVM-target validation: https://kotl.in/gradle/jvm/target-validation 

* 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 20s
Error: Gradle task assembleDebug failed with exit code 1

Exited (1).
@Trempette
Copy link

Yeah, encounter this same issue, but only in debug mode, in release i can successfully build my app

@saurabhwadekar
Copy link
Author

@Trempette I will try, thanks for

@jimmyff
Copy link

jimmyff commented Nov 20, 2024

Also having this issue which is a major blocker. Can #333 please get merged @KasemJaffer

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