From 514d8fc22f8ddecb145a0ae9059835cd409b2b0d Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Sun, 28 May 2017 00:02:13 -0700 Subject: [PATCH] Update the README Examples section for RNTester Summary: The Examples directory no longer exists and the instructions in this part of the README were stale. Follow the instructions to run RNTester on iOS and Android (this actually fails for me currently on Android, but I believe the instructions are correct and the failure is related to something else) Closes #14222 Closes https://github.com/facebook/react-native/pull/14229 Differential Revision: D5144514 Pulled By: shergin fbshipit-source-id: 19ca173e8c5e91de7e1e53a21dbcaa0968da092b --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1bf112f12..c598015f4 100644 --- a/README.md +++ b/README.md @@ -53,19 +53,18 @@ The React Native documentation only discusses the components, APIs and topics sp - `git clone https://github.com/facebook/react-native.git` - `cd react-native && npm install` -### Running the examples on iOS +### Running the RNTester app on iOS -Now open any example (the `.xcodeproj` file in each of the `Examples` subdirectories) and hit Run in Xcode. +Now open `RNTester/RNTester.xcodeproj` and hit Run in Xcode. -### Running the examples on Android +### Running the RNTester app on Android Note that you'll need the Android NDK installed, see [prerequisites](https://github.com/facebook/react-native/blob/master/ReactAndroid/README.md#prerequisites). ```bash -./gradlew :Examples:Movies:android:app:installDebug +./gradlew :RNTester:android:app:installDebug # Start the packager in a separate shell (make sure you ran npm install): ./scripts/packager.sh -# Open the Movies app in your emulator ``` ## Extending React Native