Getting this error in logcat only on android:

@osdnk can you help me with this
Hey @jatin-mohindra ,
Try to open the app from Android Studio and build it from there - you need to build the APK again so the native modules will be available to you.
Hey @jatin-mohindra ,
Try to open the app from Android Studio and build it from there - you need to build the APK again so the native modules will be available to you.
@melkayam92 i tried that as well but it didn't work
@jatin-mohindra Could you provide more info about your setup? Maybe you forgot to link Reanimated module. Try to link it manually, it helps sometimes.
@jatin-mohindra Could you provide more info about your setup? Maybe you forgot to link Reanimated module. Try to link it manually, it helps sometimes.
@dsznajder I tried that as well using the react-native link command. I am using Reanimated module as a peer dependecy for react-native-tab-view alongwith react-native-gesture-handler.
Make sure that you've added
new ReanimatedPackage(),in MainApplication.java under getPackages
Import from: import com.swmansion.reanimated.ReanimatedPackage;
me too
me too,did you fix it?
@iktw it work,thank you
closing the issue; the solution provided by @iktw works.
@iktw , fix isnt working for me, anything changed?
for me too, not working
He's referring to this step, for react-native 0.59 or lower:
react-native link react-native-reanimated
react-native link react-native-gesture-handler
@kmagiera I have this problem as well, I did react-native link, cleaned gradle cache, built an app and it shows this error
Same problem using [email protected]. The only way to get Android to work was to link it. iOS left using dynamic link.
just uninstall the app and reinstall with react-native run-android
just uninstall the app and reinstall with react-native run-android
it work. thx
just uninstall the app and reinstall with react-native run-android
it work. thx
Thanks for acknowledgment
@sobanarshad85 yes, that was the missing piece for me as well. Thank you!
Most helpful comment
Make sure that you've added
new ReanimatedPackage(),in MainApplication.java undergetPackagesImport from:
import com.swmansion.reanimated.ReanimatedPackage;