From 2aba870fff8b1bbbdc0d79006ece37d4982b27ee Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Mon, 9 May 2016 18:29:51 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/getting-started.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/releases/next/docs/getting-started.html b/releases/next/docs/getting-started.html index 36405961ce4..ea1fc786f86 100644 --- a/releases/next/docs/getting-started.html +++ b/releases/next/docs/getting-started.html @@ -248,11 +248,15 @@ folder in Nuclide and

Testing Installation #

react-native init AwesomeProject cd AwesomeProject -react-native run-android
+react-native run-android -

Troubleshooting Run #

A common issue on Windows is that the packager is not started automatically when you run +

Troubleshooting Run #

A common issue is that the packager is not started automatically when you run react-native run-android. You can start it manually using:

cd AwesomeProject -react-native start

Or if you hit a ERROR Watcher took too long to load on Windows, try increasing the timeout in this file (under your node_modules/react-native/).

Modifying Project #

Now that you successfully started the project, let's modify it:

  • Press the R key twice OR open the menu (F2 by default, or ⌘-M in Genymotion) and select Reload JS to see your change!
  • Run adb logcat *:S ReactNative:V ReactNativeJS:V in a terminal to see your app's logs

That's It #

Congratulations! You've successfully run and modified your first React Native app.

+react-native start + +

Or if you hit a ERROR Watcher took too long to load on Windows, try increasing the timeout in this file (under your node_modules/react-native/).

+ +

Modifying Project #

Now that you successfully started the project, let's modify it:

  • Open index.android.js in your text editor of choice (e.g. Nuclide) and edit some lines.
  • Press the R key twice OR open the menu (F2 by default, or ⌘-M in the emulator) and select Reload JS to see your change!
  • Run adb logcat *:S ReactNative:V ReactNativeJS:V in a terminal to see your app's logs

That's It #

Congratulations! You've successfully run and modified your first React Native app.