mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 20:44:10 +00:00
42eb5464fd
This is an early release and there are several things that are known not to work if you're porting your iOS app to Android. See the Known Issues guide on the website. We will work with the community to reach platform parity with iOS.
24 lines
1.1 KiB
Markdown
24 lines
1.1 KiB
Markdown
Here's how to test the whole dev experience end-to-end. This will be eventually merged into the [Getting Started guide](https://facebook.github.io/react-native/docs/getting-started.html).
|
|
|
|
Assuming you have the [Android SDK](https://developer.android.com/sdk/installing/index.html) installed, run `android` to open the Android SDK Manager.
|
|
|
|
Make sure you have the following installed:
|
|
|
|
- Android SDK version 23
|
|
- SDK build tools version 23
|
|
- Android Support Repository 17 (for Android Support Library)
|
|
|
|
Follow steps on https://github.com/facebook/react-native/blob/master/react-native-cli/CONTRIBUTING.md, but be sure to bump the verison of react-native in package.json to some version > 0.9 (latest published npm version) or set up proxying properly for react-native
|
|
|
|
- From the react-native-android repo:
|
|
- `./gradlew :ReactAndroid:installArchives`
|
|
- *Assuming you already have android-jsc installed to local maven repo, no steps included here*
|
|
- `react-native init ProjectName`
|
|
- Open up your Android emulator (Genymotion is recommended)
|
|
- `cd ProjectName`
|
|
- `react-native run-android`
|
|
|
|
In case the app crashed:
|
|
|
|
- Run `adb logcat` and try to find a Java exception
|