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.

  1. download adb developer.android.com
  2. cd directory downloaded, , tools directory.
  3. plug in phone
  4. run './adb devices', should spit out id , 'device', if says 'unkown', try restarting phone, or otherwise device.
  5. './adb install app_path.apk', , should install.

good luck.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -