Usb debugging (running app on a real device)


#1

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


#2

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.


#3

Check my post in here

For wireless debugging on real device