I have install windows 10 64 bit and Android studio 64 bit. Making android apps work great. Everything is OK.
I have install Flutter SDK. This is result of \"flutter
I exactly had this problem and solved it as below:
buildscript { ext.kotlin_version = '1.3.50' repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.4.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } }
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
Note: When you change your gradle version that is in "gradle-wrapper.properties", you should wait until the download of the new version of the gradle will be finished.
Now you can run your project in your device or emulator :)
Solved this problem by renaming the current project 'project_save' recreating a new Flutter project called the same name as the former one and then copied all the asset files, src code, android manifest, key, icon, script and pubspec.yaml to the new one. Took 15mn against a whole day yesterday trying to figure out the issue...