Issue
when i type flutter doctor i recieve this one
Android toolchain - develop for Android devices
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
flutter config --android-sdk
to update to that location.
For any help - thanks =)
Solution
You need to
- install android-studio in order to develop flutter apps.
- install cmd-line-tools from android-studio -> sdk-manager -> appearence and behaviour -> system settings -> android sdk -> Android SDK command line tools
- If you installed android-studio in any other location then add a system variable
ANDROID-HOME
with the path where your android sdk is located
Answered By - Rohith Nambiar
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.