receive_sharing_intent
receive_sharing_intent copied to clipboard
JVM target compatibility issue
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).
here is the error i faced when i tried to run my flutter app.
My flutter version is latest which is 3.32
Seems to be fixed by this: https://github.com/KasemJaffer/receive_sharing_intent/pull/333/files but it is not included in 1.8.1
You can use the version from git master branch:
receive_sharing_intent: git: url: https://github.com/KasemJaffer/receive_sharing_intent