Skip to content

The devices selector is stuck on "Loading Devices" and it stays like that.  #5099

@AbdulSamadgithub

Description

@AbdulSamadgithub

<----Problem----->
I've just started learning flutter and im setting up my device to run my app. Ive setup the emulator and the device as my instructor says. but it do not detect it. It detects the emulator and my mobile device on android project, but not on flutter.

Flutter doctor says "unable to locate android sdk" ive set the correct path to android sdk, ive double checked it. Ive installed both plugins dart and flutter.

I tried this solution :
Link : #4761
and updated the plugin. restarted the adb, restarted my computer. unplugged my device several times. restarted android studio and than adb several times. used 1.17.3 version of flutter to check, and nothing works.

I tried this too:
Link : https://stackoverflow.com/questions/51101178/android-studio-device-list-stuck-on-loading
started android studio as admin, and ive my sdk in my D: directory.

Please help. I'll be grateful.

<-----FLUTTER DOCTOR------>

D:\Flutter SDK\flutter_windows_1.22.4-stable\flutter>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.22.4, on Microsoft Windows [Version 10.0.19041.630], locale en-GB)
[X] Android toolchain - develop for Android devices
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, set ANDROID_SDK_ROOT to that location.
You may also want to add it to your PATH environment variable.

[!] Android Studio (version 4.1.0)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[!] Connected device
! No devices available

! Doctor found issues in 3 categories.

<------ SS of android studio ------>

Screenshot (14)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions