• Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

Android Studio says "The Flutter SDK is incomplete".

RAH S

Coder
When I try to create a new flutter project in Android Studio, it says that "The Flutter SDK is incomplete" after I specify the SDK.

error flutter.PNG

The Next button is also greyed out so I can't continue either. I have followed all the instructions on the flutter.dev website and installed the Flutter and Dart plug-ins.
 
Solution
It is said that executing the command flutter doctor from the directory of Flutter will tell you the state of its installation.
Hi there,

Welcome to Code Forum!

You may have already done this but try redownloading the Sdk. Move it to a different location and try it again.
 
  1. Download "flutter_windows_1.22.6-stable.zip" from https://storage.googleapis.com/flut...ble/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.
 

New Threads

Latest posts

Buy us a coffee!

300x250
Top Bottom