Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RN 0.66] Android build failure, Execution failed for JetifyTransform #2452

Closed
1 of 3 tasks
hsavit1 opened this issue Sep 24, 2021 · 2 comments · Fixed by #2462
Closed
1 of 3 tasks

[RN 0.66] Android build failure, Execution failed for JetifyTransform #2452

hsavit1 opened this issue Sep 24, 2021 · 2 comments · Fixed by #2462

Comments

@hsavit1
Copy link

hsavit1 commented Sep 24, 2021

Description

Currently, the rc4 of react native 0.66 looks to be stable and should be promoted to main early next week.

When building my project with reanimated on android, I'm getting this error

Building on an M1 mac. Reanimated v2.2.2 . This was building for 0.65.1

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Failed to transform react-native-reanimated-66-hermes.aar (project :react-native-reanimated) to match attributes {artifactType=android-aar-metadata}.
      > Execution failed for JetifyTransform: /Users/me/my_app/node_modules/react-native-reanimated/android/react-native-reanimated-66-hermes.aar.
         > Transform's input file does not exist: /Users/me/my_app/node_modules/react-native-reanimated/android/react-native-reanimated-66-hermes.aar. (See https://issuetracker.google.com/issues/158753935)

Expected behavior

It builds

Actual behavior & steps to reproduce

It won't build

Snack or minimal code example

Package versions

  • React Native: 0.66-rc4
  • React Native Reanimated: 2.2.2 and v2.3.0-alpha3
  • NodeJS: 16.10
  • Xcode: 13
  • Java & Gradle: gradle 6.9

Affected platforms

  • Android
  • iOS
  • Web
@github-actions
Copy link

github-actions bot commented Sep 24, 2021

Issue validator

The issue is valid!

@hsavit1 hsavit1 changed the title Support for react native 0.66 [RN 0.66] Android build failure Sep 24, 2021
@piaskowyk
Copy link
Member

We haven't support react-native@0.66 yet. But I'm working on this at this moment, so It should be available soon.

@piaskowyk piaskowyk self-assigned this Sep 24, 2021
@hsavit1 hsavit1 changed the title [RN 0.66] Android build failure [RN 0.66] Android build failure, Execution failed for JetifyTransform Sep 24, 2021
@piaskowyk piaskowyk linked a pull request Sep 28, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants