csdcorp / speech_to_text

A Flutter plugin that exposes device specific text to speech recognition capability.
BSD 3-Clause "New" or "Revised" License
348 stars 217 forks source link

Issue with the Android Gradle plugin #495

Open dkshitij29 opened 1 month ago

dkshitij29 commented 1 month ago

I am trying to use the speech_to_text 6.6.1 on my laptop, I am getting this issue with the example code provided. I have added the all the permissions too. The project level build.gradle file does have any org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50 This is the file allprojects { repositories { google() mavenCentral() } }

rootProject.buildDir = '../build' subprojects { project.buildDir = "${rootProject.buildDir}/${project.name}" } subprojects { project.evaluationDependsOn(':app') }

tasks.register("clean", Delete) { delete rootProject.buildDir }

image

Note device used for running Oneplus nord n30

sowens-csd commented 1 month ago

What version of Android Studio are you running? Can you send your Flutter doctor results?