Commit 167dd9d
docs: clarify the Android Hermes vendoring steps (#411)
The Android setup has two separate requirements — building React Native from
source and pointing it at the vendored Hermes — and the doc ran them together
without saying why either is needed.
- Split them into their own sections and say up front that this is the manual
equivalent of what `pod install` does on Apple platforms.
- Note that apps based on react-native-test-app get the dependency
substitutions from `react.buildFromSource=true` instead of editing
settings.gradle themselves, as apps/test-app does.
- Spell out that REACT_NATIVE_OVERRIDE_HERMES_DIR is read from the environment
(Gradle cannot set it for its own build), so it has to be exported for every
shell — or for the environment Android Studio is launched from — and what
goes wrong without it.
Also drop the last two references to a "patched" Hermes from the host README,
left over from before we adopted Hermes' first-party Node-API.
Claude-Session: https://claude.ai/code/session_01HX4imsygeawVtsmoP1sj3F
Co-authored-by: Claude <noreply@anthropic.com>1 parent 7debd88 commit 167dd9d
2 files changed
Lines changed: 38 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
| |||
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
26 | 39 | | |
27 | 40 | | |
28 | 41 | | |
| |||
37 | 50 | | |
38 | 51 | | |
39 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
40 | 74 | | |
41 | 75 | | |
42 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
0 commit comments