[SOLVED] devices not detected in VSCode & android studio using Flutter

Issue

This Content is from Stack Overflow. Question asked by putu eka mulyana

how to fix device not detected

    adb devices
    List of devices attached
    42001d159ac454  device


    flutter doctor 
    Doctor summary (to see all details, run flutter doctor -v):
    [✓] Flutter (Channel stable, 3.3.2, on Ubuntu 20.04.2 LTS 5.4.0-124-generic,
        locale en_US.UTF-8)
    [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    [✓] Android Studio (version 2021.2)
    [✓] VS Code
    [✓] Connected device (1 available)
    [✓] HTTP Host Availability
    
    • No issues found!

everything is normal when checked using flutter doctor

android studio
vs code



Solution

If you work on emulator in android studio, wiping data solves the problem


This Question was asked in StackOverflow by putu eka mulyana and Answered by Ammar Hammoud It is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?