I am trying to get the Expo development environment going. I was having trouble with the emulator so someone recommended connecting my android phone through a USB cable. I did this and enabled development on the phone. Still I am not getting connection. I don’t understand what these choices are below and I looked in the docs but couldn’t find them.
Production Mode
Connection
On Connection the choices are Tunnel, LAN, and local. I am connected via a USB cable. Does that make me local? Or is local the on PC emulator? I am certainly not LAN. Tunnel? Is that like tunneling through a fire wall?
When I click on AndroidDevice/Simulator I get “Couldn’t start project on Android” in dark red (not very visible on my tiny 13 inch screen). In the corner “error opening simulator. see metro logs”.
Under On Your Device in the installation instructions it says Download Android from the Play Store. It then says “You don’t need to manually install the Expo client on your emulator/simulator because CLI will do that automatically. See the next sections of this guide”. I must say I (and maybe whoever wrote this?) are confused between my “device” and an Android Emulator running on the PC. There is the Android Studio Emulator Guide that I think talks about the emulator running on the PC, and not about the “on your device” which I am assuming is an android phone either running on the same LAN or “attached” via a USB cable.
What am I missing here? Sorry for the tone. I am getting frustrated.