Files
react-native/ReactAndroid/DevExperience.md
T
Jesse Katsumata 00bb2ba62d Fix Dead links to documents in the comments (#32619)
Summary:
Links under `reactnative.dev` that ended with `.html` lead to Page not found.
Fixed the url so that users get sent to the appropriate url.

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://github.com/facebook/react-native/wiki/Changelog
-->

[General] [Fixed] - Fixed dead links in the comments.

Pull Request resolved: https://github.com/facebook/react-native/pull/32619

Test Plan: - Changed links are accessible

Reviewed By: lunaleaps

Differential Revision: D32528978

Pulled By: cortinico

fbshipit-source-id: e039d18188371cf5240b37049e431329e28b1b8b
2021-11-22 03:31:10 -08:00

1.1 KiB

Here's how to test the whole dev experience end-to-end. This will be eventually merged into the Getting Started guide.

Assuming you have the Android SDK 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/react-native-community/cli/blob/master/CONTRIBUTING.md, but be sure to bump the version 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