hiennguyen92 / flutter_callkit_incoming

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

Problems running it on Android... #559

Closed JuanchoLuna closed 4 months ago

JuanchoLuna commented 4 months ago

I am having errors using it on android. Although I have made all the changes in the xml files and build gradle it is still broken and not working

FAILURE: Build failed with an exception.

BUILD FAILED in 16s Error: Gradle task assembleDevelopmentDebug failed with exit code 1

Exited (1). `

JuanchoLuna commented 4 months ago

As a solution for those who have this same problem, changing this in my graddle build compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 }

kotlinOptions { jvmTarget = '17' }

And also within android studio in the build graddle of the library I was able to compile the app with the same code