Commit d61ceb8
fix(e2e): add build-tools 30.0.3 and platform-tools hash override
Fixed two Android SDK issues:
1. **Build-tools version mismatch (Linux CI)**:
- RN 0.72 (E2E-compat) requires build-tools 30.0.3
- Plugin default is 35.0.0
- Gradle fails with "SDK directory is not writable" when trying to auto-download
- Added ANDROID_BUILD_TOOLS_VERSION="30.0.3" override in E2E-compat
- Updated GRADLE_OPTS aapt2 path to match
2. **Platform-tools hash mismatch (macOS dev)**:
- platform-tools_r37.0.0-darwin.zip hash has changed
- Added hash-overrides.json with correct hash:
094a1395683c509fd4d48667da0d8b5ef4d42b2abfcd29f2e8149e2f989357c7
- Note: This only affects local macOS dev, not Linux CI
Changes:
- examples/E2E-compat/devbox.json: Add ANDROID_BUILD_TOOLS_VERSION
- examples/E2E-compat/devbox.d/.../hash-overrides.json: New file with platform-tools hash
Fixes: E2E Android (RN 0.72) timeout due to Gradle build failure
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent e68e3fe commit d61ceb8
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
0 commit comments