Created
January 30, 2024 12:41
-
-
Save onmotion/5f37491769c37e097df061c76f0e264f to your computer and use it in GitHub Desktop.
Android emulator React Native port forwarding (to debug disabled network with Metro)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb root | |
adb reverse tcp:8081 tcp:8081 | |
adb shell setprop metro.host "localhost" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks a lot!