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

Does not build using react-native 0.65.0-rc.0 on Android #2131

Closed
1 of 3 tasks
andreialecu opened this issue Jun 13, 2021 · 7 comments
Closed
1 of 3 tasks

Does not build using react-native 0.65.0-rc.0 on Android #2131

andreialecu opened this issue Jun 13, 2021 · 7 comments

Comments

@andreialecu
Copy link
Contributor

Description

Opening this so it can be tracked, I realize it's super early for 0.65.

I just tried updating a project to react-native v0.65.0-rc.0 but reanimated makes the build fail on Android.

Expected behavior

Build should succeed.

Actual behavior & steps to reproduce

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

Snack or minimal code example

Upgrade react-native to 0.65.0-rc.0 and run react-native run-android

Package versions

  • React Native: 0.65.0-rc.0
  • React Native Reanimated: 2.2.0

Affected platforms

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

Issue validator

The issue is valid!

@Szymon20000
Copy link
Contributor

Thank you for opening the issue. We will take care of this when react native 0.65 is closer to release.

@myckhel
Copy link

myckhel commented Jun 17, 2021

Release candidate 1 released https://github.com/facebook/react-native/releases/tag/v0.65.0-rc.1

Please if you can make the support fast 🙏🏽 .

We are willing to test the alpha versions at early stages but its not good for reanimated to always be the one blocking from testing the alpha versions.

@mrousavy
Copy link
Contributor

@Szymon20000 @piaskowyk why do you build separate .aars for each react native version in the first place? You're not linking any react native specific code with the .aar anyways

@piaskowyk
Copy link
Member

Some .so libs are incompatible between versions. Temporary solution is here and works: #2167
But like you said, 8 aars is too much, so I and Szymon will try to find a better solution.

@rick-liruixin
Copy link

My project is solved in this way:
yarn add react-native-reanimated@^2.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants