'Flutter run and debug in real mobile
I want to Run flutter app on my device (HUAWEI)
when I make flutter device
result:1 connected device:
*HUAWEI LUA L21 • WTM9K17321907973 • android-arm • Android 5.1 (API 22)*
Note:I am using VScode
but when I make flutter run
result :
Unable to locate a development device; please run 'flutter doctor' for information about installing additional components.
Solution 1:[1]
Try below command
- flutter config --android-sdk /path/to/android/sdk
- flutter doctor --android-licenses
for more information follow link -> https://github.com/flutter/flutter/issues/22649
Happy Coding :)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Sonu Saini |