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:
parent
945306e397
commit
32aafaa2c4
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue