“TypeError: null is not an object (Evaluating ‘RCTVideoInstance.Constants’)”

Viewed 4612

I’m having a problem where I get this error: “TypeError: null is not an object (Evaluating ‘RCTVideoInstance.Constants’)” for the react-native-video library. I am trying it on an android. What can I do to solve this problem? I have also tried the manual installation but it didn't work. Also I have noticed that I get a similar problem with react-native-image-crop-picker. I'll be very grateful if somebody can help me.

2 Answers

I have resolved this issue in android by adding this line in allprojects.repositories

jcenter()

and for the IOS try to uninstall the app from the device/simulator and install using Xcode. Hope its help :)

Related