Check Android SDK Command-line Tools(latest) Don't forget to add to your PATH the tools and platform-tools folder that is inside your SDK.
Run flutter doctor to verify. You can also restart the Android studio.
This should solve your problem will be solved.