hiennguyen92 / flutter_callkit_incoming

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

Execution failed for task ':flutter_callkit_incoming:compileDebugKotlin' #524

Open maravilhosinga opened 6 months ago

maravilhosinga commented 6 months ago

FAILURE: Build failed with an exception.

maravilhosinga commented 6 months ago

I resolved this config:

  1. Change Kotlin to latest version or minimum of 1.8.10 ext.kotlin_version = '1.8.10'

  2. added in android section after: defaultConfig

compileOptions {
            sourceCompatibility JavaVersion.VERSION_1_8
            targetCompatibility JavaVersion.VERSION_1_8
        }
kotlinOptions {
            jvmTarget = '1.8'
        }
  1. Updated kotlin lib to jdk8:

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"

Tha problem is that if you clean the project it will revert all changes. Thew request is to update to lastest versions.

yashpalzala commented 5 months ago

Hi @maravilhosinga can you share your project's build.gradle, settings.gradle & gradle-wrapper.properties file. I did the changes as mentioned but does not solve the problem.

danielAsaboro commented 3 months ago

did you later resolve this?

YashSavsani commented 4 weeks ago

Hi @maravilhosinga did you solve this? I am not able to I trying to use

stream_video_flutter: ^0.5.4 stream_video_push_notification: ^0.5.4

and facing this issue.