Crash on android standalone app using Reanimated 2 with SDK 40

Hi, I’m using Expo SDK 40 with Reanimated 2.0.0-rc.0 in a managed workflow.
My app in the expo client is running fine, however when building the android apk my app crash 50% of the times on launch.
I’d like to know if any of you guys met this problem or if you are using Reanimated 2 in production.
If you want more information about the problem, here is the related github issue I’ve opened : Crash on android standalone app using Reanimated 2 with SDK 40 · Issue #11672 · expo/expo · GitHub

Have a nice day, Adrien

Have you tried using this import on the top of the App.js

import ‘react-native-gesture-handler’;

Hi, thanks for your reply.
I do have it in my App.js file at the very top :frowning:

Please delete the .expo folder and build again.

Just did it and same error occuring :(.
I’ve deleted .expo folder and then ran expo build:android -t apk

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.