How to run NativeScript app in Windows using Visual Studio Emulator? trying to get this project:
https://github.com/avatsaev/nativescript-master-detail-angular2
to run in Windows 10 64bit visual studio emulator but always android emulator is launching instead when running:
this is my adb devices:
List of devices attached
169.254.138.177:5555 device
tns livesync android --emulator --watch
also tried
tns livesync 169.254.138.177:5555 --emulator --watch
no luck!
regards
Sean
found the answer
tns run android --device 169.254.138.177:5555
and you get the device from:
adb devices
enjoy!
If the emulator is already running and visible with adb devices
- you can just run tns run android
. This will build and deploy on all visible devices. Same is valid for tns livesync android
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With