Run Expo on Android device via USB?

Hello,
when I run the app via the Expo app, I just see a blue screen.
I assume that the port might be blocked in our network.

Can I run the App via an USB cable=

Yes, you can run exp start --localhost --android it will try to run over localhost using adb reverse. This should work as long as you’re using a device with at least Android 5.0 and have USB debugging enabled.

6 Likes

Hi,

I’m trying to run an expo app by usb, but I keep getting this error:
" Couldn’t start project on Android: Error running adb: No Android device found. Please connect a device and follow the instructions here to enable USB debugging:"

The device shows up on my adb devices, and I can start a react-native-init app easily on the device, but not with expo

1 Like

the command “expo start --localhost --android” worked for me, thanks!!!

2 Likes

Yes! the command " expo start --localhost --android " works very well … Thanks

npm start