Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter Android sdk is missing command line tools

Tags:

flutter

I added the steps provided by docs.
I also added Android SDK to the environmental variable but it's still remaining an issue.

I also tried these steps but it didn't work.

enter image description here

Also asked on https://github.com/flutter/flutter/issues/19805

like image 667
Ramesh sambu Avatar asked Nov 29 '22 22:11

Ramesh sambu


2 Answers

For MAC:

AndroidStudio -> Preferences -> Appearance & Behavior -> System Settings -> 
Android SDK
  1. choose the SDK Tools Segment
  2. Check the Android SDK Command-line tool (latest)

enter image description here

like image 71
Mike.R Avatar answered Dec 15 '22 15:12

Mike.R


Please try adding

G:\sdk\tools and G:\sdk\platform-tools to the PATH environment variable.

like image 20
Günter Zöchbauer Avatar answered Dec 15 '22 15:12

Günter Zöchbauer