Skip to content

Android Studio Live Reload not working #4123

Answered by jcesarmobile
leo-petrucci asked this question in Q&A
Discussion options

You must be logged in to vote

Are you testing on real devices or simulators?
http://localhost:3000 means "this computer on port 3000"

So, on iOS simulator it works because the simulator runs on the same machine as the server (your computer)
On Android emulator it won't work because it's behind a virtual router/firewall

Each instance of the emulator runs behind a virtual router/firewall service that isolates it from your development machine network interfaces and settings and from the internet. An emulated device can't see your development machine or other emulator instances on the network. Instead, it sees only that it is connected through Ethernet to a router/firewall.

On real devices it won't work because the serv…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@leo-petrucci
Comment options

Answer selected by leo-petrucci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants