I am Getting this exception while running flutter app in vs code

  android-studio, flutter, java, visual-studio
  • Exception in thread "main" java.lang.RuntimeException: Could not load wrapper properties from ‘C:flutter_projectsproject1androidgradlewrappergradle-wrapper.properties’.
    enter image description here
    I have changed distributionUrl in gradel-wrapper.properties-

distributionUrl=https : //services.gradle.org/distributions/gradle-6.6.1-all.zihip

also updated class path in build.gradel-

classpath ‘com.android.tools.build:gradle:6.6.1’
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

Source: Android Studio Questions

LEAVE A COMMENT