I cannot run my flutter app. It says Flutter requires Android SDK 28, and I have sdk 28 I cannot run my flutter app. It says Flutter requires Android SDK 28, and I have sdk 28 flutter flutter

I cannot run my flutter app. It says Flutter requires Android SDK 28, and I have sdk 28


You need to download

1- Android SDK version 28

Android Studio -> SDK Manager -> SDK Platforms tab -> Select Android 9.0 Pie and press ok to download it

2- Android BuildTools version 28.0.3

Android Studio -> SDK Manager -> SDK Tools tab -> Select Show Package Details -> Under Android SDK Build-Tools section select 28.0.3 and press ok to download it

3- then Create and run Project

4- If the problem is still present, add

C:\Program Files\Git\bin\git.exe;C:\Program Files\Git\cmd;C:\Windows\System32 

to your PATH variable

Do not create new variable for git but add them as I did one after another separating them by ;


In Android Studio (v4.0.1) initial launch dialog, under Configure, select SDK Manager.

enter image description here

Select tab "SDK Tools". Check the "Show Package Details" and then check "28.0.3", and click "Apply".

enter image description here


After hours of struggling, the only thing that worked for me on a Mac Book Pro was the following installation:

Android Studio > Configure > SDK Manager > Android SDK Location (Edit) > Android SDK Platform > Check API 30: Android 11:.0 (R).

After that, 'flutter doctor -v' switched the message to the following:

Android toolchain - develop for Android devices (Android SDK version 30.0.3)• Android SDK at /Users/Mac/Library/Android/sdk• Platform android-30, build-tools 30.0.3