I got these errors after installing flutter then running flutter doctor to check if the installation succeeded, Although I've installed both Android Studio and Android SDK in Android Studio's installation progress steps with no issues at all, what do I have to do now?
If you're using android studio, try these steps:
Click Tools > SDK Manager.
In the SDK Platforms tab, select Android 10 (29).
In the SDK Tools tab, select Android SDK Build-Tools 29 (or higher).
Click OK to begin install.
In case if above steps don't solve your problem then try updating the SDK path
flutter config --android-sdk <path-to-your-android-sdk-path>
Note: path must be enclosed within double quotes
"C:\Users\username\AppData\Local\Android\Sdk"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.