I am new to flutter. I have flutter installed, and I installed an emulator image using sdkmanager and also installed an emulator in vscode. I am able to launch the emulator but when I try to run my app from vs code I get this error in debug console:
No supported devices found with name or id matching 'emulator-5554'.
The following devices were found:
Android SDK built for x86 (mobile) • emulator-5554 • unsupported
• Android 8.1.0 (API 27) (unsupported) (emulator)
Windows (desktop)
• windows
• windows-x64
• Microsoft Windows [Version 10.0.19045.5737]
Chrome (web)
• chrome
• web-javascript • Google Chrome 138.0.7204.184
Edge (web) edge web-javascript • Microsoft Edge 138.0.3351.77
Exited (1).
When I run flutter emulators I see it in the list:
2 available emulators:
Id
• Name
• Manufacturer • Platform
Nexus_5X_API_27 • Nexus 5X API 27 • Google flutter_emulator • flutter emulator • Google
android
android
To run an emulator, run 'flutter emulators --launch <emulator id›'.
To create a new emulator, run 'flutter emulators --create [--name xyz]*.
You can find more information on managing emulators at the links below:
https://developer.android.com/studio/run/managing-avds
https://developer.android.com/studio/command-line/avdmanager
I have tried flutter clean, deleted the old AVD and created a new one and all my environment variables are in place (platform tools, tools, flutter, android home…) see
Your AVD is “Android SDK built for x86” on Android 8.1 (API 27). That’s a 32‑bit x86 system image, which Flutter doesn't support for running/debugging. Flutter targets 64‑bit Android emulators (x86_64 or arm64) on reasonably recent API levels.