Please configure Android SDK Android Studio
There is a closed ticket in the Flutter GitHub repository.We can follow these steps to solve this issue:
- Open a Flutter project in Android Studio.
- Click on File -> Project Structure.
- Select the Project tab, under Project Settings.
- At the main screen, we should see No SDK in red under the Project SDK section.
- Click on the dropdown menu and select an API version installed. Example: Android API 29 platform.
- Click Ok.The Logcat should start working.