Open RathoreAbhiii opened 1 year ago
I have the same error. How to fix this?
I have the same error. How to fix this?
You can try using the following package: [Flutter_tts]https://pub.dev/packages/flutter_ttsl). This worked for me!
I tried using the [Flutter_tts] (https://pub.dev/packages/flutter_ttsl) package before trying this one and I saw my console spit out error messages that I have yet to ever encounter in 2 years of learning android/flutter development.
That being said, I guessed a simple fix for this. I went into External Libraries\Flutter Plugins\text_to_speech-0.2.3\android\build.gradle and changed the kotlin version to the one matching the error message ( which is still lower than the one my Flutter app is supporting).
And my text is talking as I write this. Hope this helps.
While trying to use the text_to_speech package in a flutter application. I encountered the following error: "The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher. The following dependencies do not satisfy the required version: project ':text_to_speech' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50"
My project's build.gradle is using kotlin_version = 1.7.10. Clearly, the provided package does not provide support for latest kotlin versions. Please fix the following issue as soon as possible! Thanks!