Skip to content

fix(android): copy Gradle wrapper from the React Native template - #2995

Merged
Tommy Nguyen (tido64) merged 1 commit into
trunkfrom
tido/android/copy-gradle-wrapper-from-template
Nov 3, 2026
Merged

Tommy Nguyen (tido64) merged 1 commit into
trunkfrom
tido/android/copy-gradle-wrapper-from-template

Conversation

@tido64

Copy link
Copy Markdown
Member

Description

init copied the Gradle wrapper from the bundled example, which pins Gradle 9.3.1. React Native 0.88 requires 9.4.1, so building directly with Gradle failed. Copy the wrapper from the template matching the target React Native version instead, falling back to the example's wrapper when no template is available.

Resolves #2992

Platforms affected

  • Android
  • iOS
  • macOS
  • visionOS
  • Windows

Test plan

See #2992

`init` copied the Gradle wrapper from the bundled example, which pins
Gradle 9.3.1. React Native 0.88 requires 9.4.1, so building directly
with Gradle failed. Copy the wrapper from the template matching the
target React Native version instead, falling back to the example's
wrapper when no template is available.
@tido64
Tommy Nguyen (tido64) merged commit f3d341b into trunk Nov 3, 2026
26 checks passed
@tido64
Tommy Nguyen (tido64) deleted the tido/android/copy-gradle-wrapper-from-template branch November 3, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: Android This affects Android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The app init writes pins Gradle 9.3.1, and React Native 0.88's Android Gradle plugin requires 9.4.1

2 participants