Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Please configure Android SDK Android Studio

I am working with flutter and have the message Please configure Android SDK, I was looking at other answers but they don't fit, I click on configure and get the following image Image. You can see its asking me for locations, I checked and they are correct. How can I configure SDK properly?

like image 683
Ricardo Javier Chavarra Gonzal Avatar asked Feb 11 '19 15:02

Ricardo Javier Chavarra Gonzal


5 Answers

There is a closed ticket in the Flutter GitHub repository. We can follow these steps to solve this issue:

  1. Open a Flutter project in Android Studio.
  2. Click on File -> Project Structure.
  3. Select the Project tab, under Project Settings.
  4. At the main screen, we should see No SDK in red under the Project SDK section.
  5. Click on the dropdown menu and select an API version installed. Example: Android API 29 platform.
  6. Click Ok. The Logcat should start working.
like image 105
Fábio Pacheco Avatar answered Nov 18 '22 01:11

Fábio Pacheco


I have the same problem after updating to Flutter 2.1.0. For me the solution was to open another NATIVE project for Android in another Android Studio window. After it has been successfuly opened, Logcat for Flutter project was working fine..

like image 34
Karzel Avatar answered Nov 17 '22 23:11

Karzel


I had to go to the Android project (in the /android folder) and import the build.gradle file. (Right-click on build.gradle file and select "Import" from the contextual menu).

like image 22
Ernesto Avatar answered Nov 18 '22 01:11

Ernesto


It worked for me by simply restarting Android Studio File->Invalidate Caches and restart

like image 2
satyam Avatar answered Nov 18 '22 01:11

satyam


Open Android Studio, add click open existing Android Project.

Click Logcat, and will download ADB, After that, The Android SDK is be configed finally.

download ADB

like image 1
mistdon Avatar answered Nov 18 '22 01:11

mistdon