I'm just starting to learn developing in android. I'm following the nativescript getting started guide but can't seem to proceed. It mentions to run tns run android while the phone is connected. but this doesn't seem to work. USB debugging is enabled on my phone and developer options.
at this point the project builds but does not appear on my phone. (I tried using the genymotion emulator before, maybe I'm wrong with my assumption that it would just appear in my android phone just like how genymotion does it)
check with tns devic command, it detects my android phone but says unreachable. what does that mean? also would there be other specific options in my phone that I need to set in order to have this app deployed on my phone?

I would suggest you try using ADB directly first. Following are the steps that can be used to push your app to your phone.
adb start-serveradb devices. This should list your phone below with a phone code or name.adb -s <device code> push <app_name>.apkYou can also specify a location on your phone where you want your app to be pushed. Alternatively you can also use adb to install the app directly on your phone by using the following command : - adb install <app_name>.apk
Hope this helps.
You probably haven't turned on ADB debug mode on your phone.
Edit
Try to install an apk using adb directly. If that works tns is the problem. If that doesn't work, your setup is the problem.
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