-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outdated Kotlin Gradle Plugin Version Causing Build Failures #88
Comments
If anyone else is facing this issue, here's a step-by-step solution: Local Copy of flutter_sms:Clone or download the flutter_sms plugin from its GitHub repository to your local machine.
Update pubspec.yaml:
Modify Kotlin Version:Navigate to path/to/local/flutter_sms/android/build.gradle and update the Kotlin version to match the version required by your project. Fetch Updated Dependencies:Run Clean and Rebuild:
I hope this helps others who might be facing the same issue! Would be great if the maintainer could update the Kotlin version in the official repository to cater to the wider audience. |
Any Alternative of this Library ? |
Could the author please consider updating the kotlin-gradle-plugin for this? |
This issue was resolved 10 months ago, but it doesn't seem to have been properly reflected in the repository. Applying the following to the pubspec.yaml should resolve it.
|
This worked for me many thanks !! |
working |
flutter_sms:
|
not working
not working |
Not working for me either:
|
Hello,
I recently integrated the flutter_sms package into my Flutter project and encountered a build error related to the Kotlin Gradle plugin version.
Error Message:
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 ':flutter_sms' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50
Upon inspection, it seems that the flutter_sms package is using Kotlin Gradle plugin version 1.3.50, which is not compatible with the latest Android Gradle plugin versions.
The text was updated successfully, but these errors were encountered: