can someone please help me cause i've been trying to fix this problem for hours now
CodePudding user response:
Go to android studio -> open settings ->search sdk copy path.
add sdk path to environment variables in windows.
CodePudding user response:
You can set this way also :
flutter config --android-sdk <path-to-your-android-sdk-path>
.Here your path is c:\AndroidSDKonce done close command prompt and reopen and run commnad again :
flutter doctor -v