6

I am trying to practive this video.

https://youtu.be/R7vyLItMQJw (The basics of PinchGestureHandler with React Native Reanimated 2)

but my app doesn't work touch.

I get this Error

[Reanimated] Couldn't determine the version of the native part of Reanimated.Did you forget to re-build the app after upgrading react-native-reanimated? If you use Expo Go, you must use the exact version which is bundled into Expo SDK.

How can I solve this problem?

first. I upgraded Expo SDK.

but I got still same error.

second. re-build the app.

but I got still same error.

third. I install reanimated again. but still be same error.

heejung Kwon
  • 61
  • 1
  • 5

2 Answers2

3

That is because the Reanimated version you installed is not compatible with your expo package version. try running this in terminal:

expo doctor --fix-dependencies

then run

expo start

or

npm start

whatever command you usually enter to open your development server

avardag
  • 126
  • 1
  • 6
0

I was having the very same problem right now. The following solved my issue:

npx expo start --clear

Hope it works for you too.

Lavínia Beghini
  • 165
  • 1
  • 11