KasemJaffer / receive_sharing_intent

A Flutter plugin that enables flutter apps to receive sharing photos, text and url from other apps.
Apache License 2.0
334 stars 395 forks source link

Execution failed for task ':receive_sharing_intent:compileDebugKotlin #332

Open saurabhwadekar opened 3 weeks ago

saurabhwadekar commented 3 weeks ago

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 commented 3 weeks ago

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

saurabhwadekar commented 3 weeks ago

@Trempette I will try, thanks for

jimmyff commented 1 day ago

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