Add Airplane mode as a potential reason for debug server exceptions

Reviewed By: jingc

Differential Revision: D3632310

fbshipit-source-id: e6ccbfaaccf6853c615956842ea657eaba76cbe2
This commit is contained in:
Andrew Y. Chen 2016-07-27 16:13:41 -07:00 committed by Facebook Github Bot 7
parent d12d075977
commit aa32fd64a5
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ public class DebugServerException extends RuntimeException {
"\n\nTry the following to fix the issue:\n" +
"\u2022 Ensure that the packager server is running\n" +
"\u2022 Ensure that your device/emulator is connected to your machine and has USB debugging enabled - run 'adb devices' to see a list of connected devices\n" +
"\u2022 Ensure Airplane Mode is disabled\n" +
"\u2022 If you're on a physical device connected to the same machine, run 'adb reverse tcp:8081 tcp:8081' to forward requests from your device\n" +
"\u2022 If your device is on the same Wi-Fi network, set 'Debug server host & port for device' in 'Dev settings' to your machine's IP address and the port of the local dev server - e.g. 10.0.1.1:8081\n\n";