Vaishak
Vaishak

Reputation: 59

The flutter SDK is incomplete

When I try to create a new application in android studio, it asks for the SDK. When I give the SDK, it shows "the flutter SDK installation is incomplete". Please help me out with this. I've attached the screenshot. Thanks in advance.

screenshot

Upvotes: 2

Views: 14994

Answers (4)

hamza khan
hamza khan

Reputation: 7

I had the same issue and I didn't found any solution even on stackoverflow. what I did was I just removed the sdk and its path variable and downloaded the new version of sdk. worked for me C:\src\flutter\flutter.

Upvotes: 1

FetFrumos
FetFrumos

Reputation: 5944

This is solution for windows. You need this steps:

1.Run cmd(as administrator) and command cd in to your flutter directory(not flutter/bin )

2.Run flutter doctor in console. you may have to wait a while - this will download dependencies.

Upvotes: 0

Majd Al-Atrash
Majd Al-Atrash

Reputation: 37

  1. Download "flutter_windows_1.22.6-stable.zip" from https://storage.googleapis.com/flutter_infra/releases/stable/windows/flutter_windows_1.22.6-stable.zip.

  2. Extract files.

  3. Turn on a VPN (ex: Hotspot Shield).

  4. Click right-click on "Extracted files: flutter\bin\dart.bat > Run as administrator.

  5. Wait for downloading.

  6. Go to edit variables (This PC > properties > Advanced system settings > Advanced > Environment Variables).

  7. Edit (create if not exist) Path variable to "Extracted files: flutter\bin" then click ok.

  8. Download and install Git from https://git-scm.com/download/win.

  9. Open cmd, write "flutter", wait to download.

  10. Write "flutter doctor" in cmd, and solve all the problems they pose.

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

Upvotes: 0

Ketan Sharma
Ketan Sharma

Reputation: 113

  1. Go to flutter extracted location
  2. flutter/bin
  3. open CMD window here
  4. run flutter doctor This will install remaining libraries and then give path to your android studio IDE EXAMPLE IMAGE

Upvotes: 11

Related Questions