Close the current project and you’ll see a pop-up with a dialog which will then proceed to Configure option. Configure -> Project Defaults -> Project Structure -> SDKs on left column -> Android SDK Home Path -> give the exact path as you did on local. properties and select Valid Target.
Read moreHow do you fix could not find a Flutter SDK please ensure flutter is installed and in your path you may need to restart?
To resolve it, you can;
Read moreHow do I find my Flutter SDK location?
Your Flutter SDK path should be a_better_place/flutter . These would be used in tools such as VSCode or Android Studio. Check your echo $PATH to point to the correct folder. Use export PATH=”$PATH:$HOME/flutter/bin” or whatever you need (and you can also include this into your ~/.
Read more