skip to Main Content

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.

2

Answers


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

    npx expo start --clear
    

    Hope it works for you too.

    Login or Signup to reply.
  2. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search