Running simple-todos on an android device


#1

I am not getting the simple-todos tutorial running on my android device. Is something missing from the tutorial? I have turned on developer tools. The tablet is connected by USB to my computer.

meteor run android-device
WARNING: You are testing your app on a remote device.For the mobile app to be able to connect to the local server,
make sure your device is on the same network, and that the network configuration allows clients to talk
to each other (no client isolation).
[[[[[ ~/meteor/simple-todos ]]]]]

=> Started proxy.
=> Started app on Android Device.
I20150325-13:03:33.433(-7)? - waiting for device -
=> Started MongoDB.
=> Started your app.

=> App running at: http://localhost:3000/


#2

Troubleshooting I always use:

  1. Obvious, but always worth to check: are you in the same network?
  2. Have you confirmed the fingerprint for your device? If nothing is popping up for you when you run the code, try to change the mode your phone or tablet to connect as Camera (PTP).
  3. Uninstall the app if you have it installed in your memory.

#3

If you run adb devices do you see your device?


#4

I switched my computer from ethernet to wireless to get on the same network. I’ve tried PTP, MTP, USB and USB file system setting.


#5

‘adb devices’ does not see my tablet. It returns an empty line


#6

you need to make sure that your mobile is connected properly. adb devices should return an ID. make sure you have the USB driver for your mobile phone.


#7

I needed to follow these instructions and add my devices vendorID to .android/adb_usb.ini http://ryancuda.blogspot.com/2013/12/how-to-get-working-adb-drivers-for.html