vosk-android-demo
vosk-android-demo copied to clipboard
Minimum supported Gradle version is 6.5. Current version is 6.1.1
I dowloaded the code and tried running it using android studio (Mac OS). I get the following error:
Minimum supported Gradle version is 6.5. Current version is 6.1.1. If using the gradle wrapper, try editing the distributionUrl in /Users/../../vosk-android-demo/gradle/wrapper/gradle-wrapper.properties to gradle-6.5-all.zip
However, wrapper/gradle-wrapper.properties does not exist.
Any solutions, as to how to build the app?
install newer gradle
I encountered the same problem as well. Anyone have the solution? I've tried specifying the gradle build manually in Settings> Gradle> Use Grade from specified location/ specifying gradle version in Project Structure>Gradle and manually installing gradle into wrapper/dists. None of that works sadly.
Turns out all I have to do is to install the right APK level first (for this project is 28 and 29 I believe). From that I can downgrade the gradle build to run the code just fine.
you can copy other project wrapper dir to this project ,then modify gradle-wrapper.properties
#Tue Dec 08 17:56:20 GMT+08:00 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https://services.gradle.org/distributions/gradle-6.5-all.zip
restart AS.
Copy another project Gradle directory to the Current project. Then it will work.
Copy another project Gradle directory to the Current project. Then it will work.
It's work with me. Thank you @sugukung
I am facing the same error. I tried changing the distrubutionUrl but still I get the following error- Failed to apply plugin [id 'com.android.internal.version-check']
Minimum supported Gradle version is 6.7.1. Current version is 6.1.1. If using the gradle wrapper, try editing the distributionUrl in C:\Users\harsh\AndroidStudioProjects\Qr-Code-Scanner--master\gradle\wrapper\gradle-wrapper.properties to gradle-6.7.1-all.zip