From d6b2e3e0615734cf7367826471fc4b2dcfa753eb Mon Sep 17 00:00:00 2001 From: Luke Donahue Date: Tue, 20 Dec 2022 14:45:16 -0800 Subject: [PATCH 1/2] Troubleshooting seciton --- docs/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/README.md b/docs/README.md index 0ff0d480ee41..bcaed298f593 100644 --- a/docs/README.md +++ b/docs/README.md @@ -41,6 +41,12 @@ ln -sf universal-darwin22 universal-darwin21 - _Note: If you see an error like `Unable to load the EventMachine C Extension...`, try running `gem uninstall eventmachine && bundle install`. If that doesn't work just removing the `--livereload` flag should work._ 1. Modify a `.html` or `.md` file and save your changes, and the browser should quickly auto-refresh. +## Troubleshooting + +### Android Chrome emulator +To visit the site on the Android emulator, go to `10.0.2.2:4000`. + + # How the project is structured The [docs](https://github.com/Expensify/App/tree/main/docs) folder will contain the following main folders: From c874a71d8f65cea8d0284915fe52b1f52983f128 Mon Sep 17 00:00:00 2001 From: Luke Donahue Date: Tue, 20 Dec 2022 14:46:28 -0800 Subject: [PATCH 2/2] added error condition --- docs/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/README.md b/docs/README.md index bcaed298f593..9193439c4b59 100644 --- a/docs/README.md +++ b/docs/README.md @@ -46,6 +46,8 @@ ln -sf universal-darwin22 universal-darwin21 ### Android Chrome emulator To visit the site on the Android emulator, go to `10.0.2.2:4000`. +If you're getting an error page that says "Refused to connect", try running `adb reverse tcp:4000 tcp:4000` with your emulator open. + # How the project is structured