Usb debugging (running app on a real device)


i have only 4gb of ram and i can’t run an emulator it crashes a lot so i’m asking how to use usb debugging with nativescript so i can run my app on real device instead of emulator


There is no special settings required for NativeScript. You just have to enable developer options and USB Debugging on your device. Once that is done, ADB should be able to detect your device connected via USB. You may verify that by running adb devices or tns device command.

Now if you run / debug using tns commands by default it will launch the app on the device that is connected.


Check my post in here

For wireless debugging on real device