csdcorp / speech_to_text

A Flutter plugin that exposes device specific text to speech recognition capability.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with the Android Gradle plugin

dkshitij29 opened this issue · comments

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

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