I've been struggling with this all day. I did the same thing that the repo says.
I ran:
npm install react-native-camera --save
react-native link react-native-camera
The output said that everything was linked correctly. But when I do:
react-native run-android
I get this error:
\MainApplication.java:6: error: package org.reactnative.camera does not exist import org.reactnative.camera.RNCameraPackage; ^
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':app:compileDebugJavaWithJavac'.
That's not the entire error, I think that's just the most relevant part of it.
Any hand?