From aa32fd64a5b3b74b5631942cb088218a833e6ff6 Mon Sep 17 00:00:00 2001 From: "Andrew Y. Chen" Date: Wed, 27 Jul 2016 16:13:41 -0700 Subject: [PATCH] Add Airplane mode as a potential reason for debug server exceptions Reviewed By: jingc Differential Revision: D3632310 fbshipit-source-id: e6ccbfaaccf6853c615956842ea657eaba76cbe2 --- .../java/com/facebook/react/devsupport/DebugServerException.java | 1 + 1 file changed, 1 insertion(+) diff --git a/ReactAndroid/src/main/java/com/facebook/react/devsupport/DebugServerException.java b/ReactAndroid/src/main/java/com/facebook/react/devsupport/DebugServerException.java index 88baa0424..bf6de9c5d 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/devsupport/DebugServerException.java +++ b/ReactAndroid/src/main/java/com/facebook/react/devsupport/DebugServerException.java @@ -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";