Skip to content

Commit aa32fd6

Browse files
ayc1Facebook Github Bot 7
authored andcommitted
Add Airplane mode as a potential reason for debug server exceptions
Reviewed By: jingc Differential Revision: D3632310 fbshipit-source-id: e6ccbfaaccf6853c615956842ea657eaba76cbe2
1 parent d12d075 commit aa32fd6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ReactAndroid/src/main/java/com/facebook/react/devsupport/DebugServerException.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public class DebugServerException extends RuntimeException {
3030
"\n\nTry the following to fix the issue:\n" +
3131
"\u2022 Ensure that the packager server is running\n" +
3232
"\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" +
33+
"\u2022 Ensure Airplane Mode is disabled\n" +
3334
"\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" +
3435
"\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";
3536

0 commit comments

Comments
 (0)