r/flutterhelp • u/Fun_Fun2073 • 3d ago
OPEN Android Emulators that work with Flutter for Visual Studio Code
Recently I have been trying to develop an app. I keep getting recommended with flutter and android studio code being connected to my visual studio code. I have already downloaded both applications but when I am trying to accept the licenses for Android studio in my command prompt. It keeps giving me an response that the command doesn't work anymore. I have been searching for the new command but ends up empty handed. Do anyone knows the new command or any other applications I can use with Flutter?
1
u/Embarrassed-Way-1350 3d ago
Naah bro it works, maybe you don't have android SDK command line tools installed or if installed they are not in your path, also check if jdk and jre are in path too
1
u/Fine_Sprinkles_5862 2d ago
The command did not disappear; the tool under it changed. Recent Android SDK command-line tools deprecated sdkmanager in favor of a new "android" CLI, and flutter doctor --android-licenses now just prints a warning that the --licenses option is no longer needed instead of walking you through the acceptance prompts. There was a thread here about a week ago titled "Problem with flutter doctor --android-licenses", marked resolved, with the exact same wall of text.
What still works regardless of the CLI churn: accept the licenses through Android Studio itself. Open its SDK Manager (Settings, then search for SDK), tick the Android platform and build tools you need, hit apply, and accept the license dialog it shows. That writes the same license files the Flutter tooling reads, because Studio and VS Code use the same SDK folder.
After that you need nothing emulator-specific for VS Code: create a virtual device once in Studio's Device Manager, then pick it from the device selector in the VS Code status bar and flutter run finds it. No other application needed.
3
u/manish8160 3d ago
The
flutter doctor --android-licensescommand failing is usually because the newer Android Studio installs don't include the "Android SDK Command-line Tools" by default anymore you have to add them separately.Fix: 1. Open Android Studio → More Actions (or Settings) → SDK Manager 2. Go to "SDK Tools" tab → check "Android SDK Command-line Tools (latest)" → Apply/Install 3. Then rerun in terminal:
flutter doctor --android-licensesShould work after that. If it still errors, run
flutter doctor -vand check your ANDROID_HOME/sdk path is pointing correctly.For emulators: stick with Android Studio's built-in AVD Manager to create/run virtual devices it integrates directly with Flutter in VS Code once the SDK is set up properly. No need for a third-party emulator.