hiennguyen92 / flutter_callkit_incoming

Flutter Callkit Incoming
https://pub.dev/packages/flutter_callkit_incoming
MIT License
180 stars 312 forks source link

App fails to compile once i add flutter_callkit_incoming package #540

Open danielAsaboro opened 5 months ago

danielAsaboro commented 5 months ago

This error happens by simply adding the package to the pubspec package

On flutter run command, this is what I get

FAILURE: Build failed with an exception.

danielAsaboro commented 5 months ago

and i believe this originates from the package's build.gradles kotlin extension. could it be because flutter no longer uses buildscript or whatever??

I'm on java 20 and have a gradle version of 8.3 which works well for other project until I added flutter_callkit_incoming package

very very related medium post

danielAsaboro commented 5 months ago

No help in sight 😭

vijayshankarrealdeal commented 1 month ago

Hey @danielAsaboro, just add Add in your gralde.properties: kotlin.jvm.target.validation.mode = IGNORE

it resolve the error for me

KishoreCreativeAppLap commented 1 month ago

kotlin.jvm.target.validation.mode = IGNORE

tq it's worked but is this affect our app on future?