Moreover, if you are using the react native version 0.68 & docs say to install the library which react native reanimated@next but it produces an error (merging error with the Hermes) until now there is no stable version of the reanimated library for the react native v0.70. Installing the lower version(stable version) is a better move than doing with the latest version
This can happen for other reasons as well. For me, it happened because in the
androidgradle.properties file I did not enable the Architecture that I was trying to deploy to:
3
Answers
The error is coming because of
react-native-reanimated
library either remove the library orUse latest version
And
Go to root folder
or check this
https://github.com/software-mansion/react-native-reanimated/pull/3551/commits/25defa25d22a50dc068ac720ac4f3d7bde76aa17
I think you didn’t add the proguard rules inside the android app folder and follow the instructions they had given on the website
https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation
Moreover, if you are using the react native version 0.68 & docs say to install the library which react native reanimated@next but it produces an error (merging error with the Hermes) until now there is no stable version of the reanimated library for the react native v0.70. Installing the lower version(stable version) is a better move than doing with the latest version
This can happen for other reasons as well. For me, it happened because in the
androidgradle.properties file I did not enable the Architecture that I was trying to deploy to:
Make sure, the Emulator Arch or if you are using a physical device then that Arch is enabled in the above line.