0

I'm getting this error when using the library RNCamera

attempt to invoke virtual method 'void android.view.TextureView.setSurfaceTextureListener(android.view.TextureView$SurfaceTextureListener)' on a null object reference


enter image description here

I reinstall the library but still getting this error. This error occurs when I updated my RN from 0.62.2 to 0.66.1. Thank you for your help on this!

carch
  • 217
  • 4
  • 18

1 Answers1

0

I resolved this issue by running cd android && ./gradlew clean

carch
  • 217
  • 4
  • 18