xxxxxxxxxx
flutter config --android-studio-dir="C:\Program Files\Android\Android Studio"
xxxxxxxxxx
If you are seeing this issue when you are running flutter doctor
and you are certain that Android Studio is installed, then perhaps
try launching Android Studio and close it after it has loaded. Try
running flutter doctor again and see if it helped - This process
worked for me when I had the issue.
Best of luck with your app development! (^_^)