osx - Expo on MacOS can open my app on my Android device over USB cable via XDE but not commandline -
i'm new android , macs , react native.
i'm using macbook air sierra connected usb cable new android phone.
using expo's ide can run , test app on android device when try same via terminal network errors.
why commandline version want use internet when xde happy work usb cable , how can change it?
googling issue has been elusive far.
- download adb developer.android.com
- cd directory downloaded, , tools directory.
- plug in phone
- run './adb devices', should spit out id , 'device', if says 'unkown', try restarting phone, or otherwise device.
- './adb install app_path.apk', , should install.
good luck.
Comments
Post a Comment