when I create a new flutter project it throw an error that, Build file 'C:\Users\user name\AndroidStudioProjects\food_app\android\build.gradle' which mean that, "Flutter SDK not found. Define location with flutter.sdk in the local.properties file" on local.properties file already have:
sdk.dir=C:\\Users\\user name\\AppData\\Local\\Android\\sdk
flutter.sdk=C:\\flutter
flutter.buildMode=debug
flutter.versionName=1.0.0
flutter.versionCode=1
I tried all the answers of this link but nothing can help me SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable