From a7939833a7f8855e315fda53b6e6250243db1ef4 Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Fri, 15 Jan 2016 03:44:13 +0530 Subject: [PATCH 1/2] Improve the message shown when bundle download fails --- ReactAndroid/src/main/res/devsupport/values/strings.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactAndroid/src/main/res/devsupport/values/strings.xml b/ReactAndroid/src/main/res/devsupport/values/strings.xml index d56ca71d1cec21..f3026b99c81c51 100644 --- a/ReactAndroid/src/main/res/devsupport/values/strings.xml +++ b/ReactAndroid/src/main/res/devsupport/values/strings.xml @@ -13,7 +13,7 @@ Catalyst Dev Settings Please wait… Fetching JS bundle - Unable to download JS bundle. Did you forget to start the development server or connect your device? + Unable to download JS bundle from the dev server.\n\nTry the following to fix the issue:\n• Ensure that the node server is running - run \'npm start\' from your project root\n• 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• 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• 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 Connecting to remote debugger Unable to connect with remote debugger Show Inspector From a9e112fc02e86009531cd501700cca2b3b290da7 Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Tue, 19 Jan 2016 07:50:58 +0530 Subject: [PATCH 2/2] Remove info on 'npm start' --- ReactAndroid/src/main/res/devsupport/values/strings.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactAndroid/src/main/res/devsupport/values/strings.xml b/ReactAndroid/src/main/res/devsupport/values/strings.xml index f3026b99c81c51..0107c3689cf36a 100644 --- a/ReactAndroid/src/main/res/devsupport/values/strings.xml +++ b/ReactAndroid/src/main/res/devsupport/values/strings.xml @@ -13,7 +13,7 @@ Catalyst Dev Settings Please wait… Fetching JS bundle - Unable to download JS bundle from the dev server.\n\nTry the following to fix the issue:\n• Ensure that the node server is running - run \'npm start\' from your project root\n• 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• 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• 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 + Unable to download JS bundle from the dev server.\n\nTry the following to fix the issue:\n• Ensure that the packager server is running\n• 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• 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• 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 Connecting to remote debugger Unable to connect with remote debugger Show Inspector