react-native-reanimated: [react-native 0.64-rc.1] [reanimated 2.0.0-rc.0] Transform's input file does not exist: react-native-reanimated-64.aar.
Description
build failed on Android:
Transform’s input file does not exist: ***/node_modules/react-native-reanimated/android/react-native-reanimated-64.aar.
System:
OS: macOS 11.0.1
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 30.30 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 12.19.0 - /usr/local/bin/node
Yarn: 1.22.10 - ~/Documents/ReactNativeProj/fandeng/lingyue/node_modules/.bin/yarn
npm: 7.0.8 - /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.10.0 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.2, DriverKit 20.0, macOS 11.0, tvOS 14.2, watchOS 7.1
Android SDK:
API Levels: 21, 23, 25, 26, 27, 28, 29
Build Tools: 23.0.1, 26.0.1, 26.0.2, 27.0.3, 28.0.3, 29.0.2
System Images: android-30 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.6858069
Xcode: 12.2/12B45b - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_212 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.1 => 17.0.1
react-native: 0.64.0-rc.1 => 0.64.0-rc.1
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
Screenshots
Package versions
React: 17.0.1 => 17.0.1 React Native: 0.64.0-rc.1 => 0.64.0-rc.1 React Native Reanimated: 2.0.0-rc.0
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (4 by maintainers)
Ok got the solution for now. Try:-
npm i react-native-reanimated@^2.3.0-alpha.2
and thennpm i
and thennpm start -- --reset-cache
and thennpm run android
.It worked for me.
Getting same error with React-Native 0.65.
@jakub-gonet keep in mind that #1469 only adds support for RN 64 on iOS (and Hermes on iOS). Someone else has to take a look at android.
Hi @lasharela ,
Try adding this in bable.config.js
We don’t support RN 64 yet, #1469 adds compat with this version.
This work for me, thanks a lot!