简体   繁体   中英

Unable to locate a development device; please run 'flutter doctor' for information about installing additional components. on VS Code

Getting error while installing in the new laptop (Windows 10) in vs code
✓ Java SDK
✓ Android SDK
✓ Flutter SDK
✓ ADB Driver
✓ Set Env Path for all SDK
✓ run flutter config --android-sdk <path>
after that it's showing my device but when I am trying to run flutter run
It's showing no device found. I searched for other solutions but didn't help me.

Any solution?
Error Screenshot Link

Solved

Install Android API Level 29 from Android SDK Manager. Then install Android Licenses from Android SDK Manager. Then run flutter doctor -v for checking proper installation.

Another solution which I have found. Many devs are trying to install android studio first then download all the SDK after that uninstall the android studio.

I hope you will get your proper solution from here.
github issue solved

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM