Home > Net >  Cannot find connected devices. Reconnect any connected devices, verify that your system recognizes t
Cannot find connected devices. Reconnect any connected devices, verify that your system recognizes t

Time:11-21

Edit: tns run android works on android-studio ide but not on vscode. I got it running in android-studio by clicking the configure in the picture below:

enter image description here

I'm new to nativescript and android studio scene and configuring things out is really a hell of an experience, I got this existing project that I got running yesterday and when I try to run it again today with tns run android it now don't see the emulator that I have installed and the same emulator it used to run just yesterday. Here are the details of my config:

Installed Packages: enter image description here

Path and Environment configuration: enter image description here

enter image description here

enter image description here

Now if I run tns device android --available-devices this show up: enter image description here And it still insist that it cannot find any devices when it just found one!

Running tns-devices can't find it as well: enter image description here

It also says All is good when I run tns doctor: enter image description here

So my question would be, what am I missing here? Is it a missing package? Is it a wrong android configuration? Do I have to reinstall android studio from the start (Already did this twice!)

CodePudding user response:

What worked for me:

  1. restarted my unit.
  2. ran the emulator from android studio.
  3. ran tns run android on vscode.

and it just worked. Also, this might help you as well.

  • Related