Skip to content
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

not satisfy the required version #17

Closed
niypoo opened this issue Dec 28, 2019 · 4 comments
Closed

not satisfy the required version #17

niypoo opened this issue Dec 28, 2019 · 4 comments
Assignees
Labels

Comments

@niypoo
Copy link

niypoo commented Dec 28, 2019

I'm trying no to upgrade my flutter to 1.12 and facing this issue any idea
`FAILURE: Build failed with an exception.

  • What went wrong:
    The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher.
    The following dependencies do not satisfy the required version:
    project ':speech_to_text' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.0`
@sowens-csd
Copy link
Contributor

So you're trying to continue to use Flutter 1.9.x? I haven't tested the 0.7.0 version of the plugin with previous versions of Flutter so I don't know if it will work.

The error looks like I need to upgrade Kotlin to a newer version in the 0.7.x version of the plugin. Do you get that error from a Flutter build apk command? Have you upgraded other plugins? If you're staying on an older Flutter version you might want to also leave your plugins at their previous versions.

@niypoo
Copy link
Author

niypoo commented Dec 29, 2019

yes I must work with kotlin_version 1.3.5 and build:gradle:3.3.5 and your package work with me only with kotlin_version 1.3.0 & 1.3.10
so I downgrade tools.build:gradle to com.android.tools.build:gradle:3.3.1 to work with ext.kotlin_version = '1.3.10' for speech_to_text,

@sowens-csd
Copy link
Contributor

Ah! I see now. I just tried to create a brand new project and I see that Flutter has moved the kotlin version to 1.3.5. Thanks for pointing this out. I'll upgrade the project and release a minor point upgrade.

@sowens-csd sowens-csd self-assigned this Dec 30, 2019
@sowens-csd
Copy link
Contributor

0.7.1 is now uploaded with a fix for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants