Skip to content

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

Open
Tommy Nguyen (tido64) wants to merge 1 commit into
trunkfrom
tido/android/copy-gradle-wrapper-from-template
Open

Tommy Nguyen (tido64) wants to merge 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.
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

1 participant