I am getting this error when I run “tns run android”: Cannot resolve the specified connected device by the provided index or identifier. To list currently connected devices and verify that the specified index or identifier exists, run ‘tns device’. What is the solution?
Same is happening with me too. Seems like NativeScript is buggy. I first install everything on Mac, ran the code and came across lots of error and found that problem is already listed under ISSUES in GitHub. Now the Windows version is too not giving a chance to play with this tool.
Are you guys testing Android deployment on Emulators or physical devices?
I am trying to run it on Windows without any physical device.
Authenticate user with PHP/Backend
Make sure you properly set up your android emulator.
Type " tns device android --available-devices"
and make sure something similar to this appears