mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
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
This commit is contained in:
parent
3af9be52b2
commit
514d8fc22f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user