Update EmbeddedAppAndroid.md

Summary: Closes https://github.com/facebook/react-native/pull/6621

Differential Revision: D3092794

fb-gh-sync-id: f5e75377f00d8215e0e026dfe1f682c832f1e7e6
shipit-source-id: f5e75377f00d8215e0e026dfe1f682c832f1e7e6
This commit is contained in:
sunnylqm 2016-03-24 07:10:20 -07:00 committed by Facebook Github Bot 0
parent 945306e397
commit 32aafaa2c4
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ In your project's root folder, run:
This creates a node module for your app and adds the `react-native` npm dependency. Now open the newly created `package.json` file and add this under `scripts`:
"start": "node_modules/react-native/packager/packager.sh"
"start": "node node_modules/react-native/local-cli/cli.js start"
Copy & paste the following code to `index.android.js` in your root folder — it's a barebones React Native app: